Skip to content

[llvm-debuginfo-analyzer][DOC] Change .wasm references to .o #85566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ level and debug info format.
llvm-debuginfo-analyzer --attribute=level,format
--output-sort=offset
--print=scopes,symbols,types,lines,instructions
test-clang.wasm
test-clang.o

or

Expand All @@ -1991,7 +1991,7 @@ or
llvm-debuginfo-analyzer --attribute=level,format
--output-sort=offset
--print=elements
test-clang.wasm
test-clang.o

Each row represents an element that is present within the debug
information. The first column represents the scope level, followed by
Expand All @@ -2001,7 +2001,7 @@ the element.
.. code-block:: none

Logical View:
[000] {File} 'test-clang.wasm' -> WASM
[000] {File} 'test-clang.o' -> WASM

[001] {CompileUnit} 'test.cpp'
[002] 2 {Function} extern not_inlined 'foo' -> 'int'
Expand Down Expand Up @@ -2099,10 +2099,10 @@ layout and given the number of matches.
--select=BLOCK --select=.store
--report=list
--print=symbols,types,instructions,summary
test-clang.wasm
test-clang.o

Logical View:
[000] {File} 'test-clang.wasm'
[000] {File} 'test-clang.o'

[001] {CompileUnit} 'test.cpp'
[003] {Code} 'block'
Expand Down Expand Up @@ -2139,10 +2139,10 @@ with the printing mode to obtain the following logical view output.
--select-regex --select-nocase --select=INTe
--report=list
--print=symbols,types
test-clang.wasm test-dwarf-gcc.o
test-clang.o test-dwarf-gcc.o

Logical View:
[000] {File} 'test-clang.wasm'
[000] {File} 'test-clang.o'

[001] {CompileUnit} 'test.cpp'
[003] 4 {TypeAlias} 'INTEGER' -> 'int'
Expand Down Expand Up @@ -2175,13 +2175,13 @@ giving more context by swapping the reference and target object files.
--compare=types
--report=view
--print=symbols,types
test-clang.wasm test-dwarf-gcc.o
test-clang.o test-dwarf-gcc.o

Reference: 'test-clang.wasm'
Reference: 'test-clang.o'
Target: 'test-dwarf-gcc.o'

Logical View:
[000] {File} 'test-clang.wasm'
[000] {File} 'test-clang.o'

[001] {CompileUnit} 'test.cpp'
[002] 1 {TypeAlias} 'INTPTR' -> '* const int'
Expand Down Expand Up @@ -2209,9 +2209,9 @@ includes the name, source code location, type, lexical scope level.
--compare=types
--report=list
--print=symbols,types,summary
test-clang.wasm test-dwarf-gcc.o
test-clang.o test-dwarf-gcc.o

Reference: 'test-clang.wasm'
Reference: 'test-clang.o'
Target: 'test-dwarf-gcc.o'

(1) Missing Types:
Expand All @@ -2238,10 +2238,10 @@ Changing the *Reference* and *Target* order:
--compare=types
--report=list
--print=symbols,types,summary
test-dwarf-gcc.o test-clang.wasm
test-dwarf-gcc.o test-clang.o

Reference: 'test-dwarf-gcc.o'
Target: 'test-clang.wasm'
Target: 'test-clang.o'

(1) Missing Types:
-[004] 4 {TypeAlias} 'INTEGER' -> 'int'
Expand Down
3 changes: 0 additions & 3 deletions llvm/tools/llvm-debuginfo-analyzer/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ The following DWARF debug location operands are not supported:
//===----------------------------------------------------------------------===//
// Add support for additional binary formats.
//===----------------------------------------------------------------------===//
- WebAssembly (Wasm).
https://github.com/llvm/llvm-project/issues/57040#issuecomment-1211336680

- Extended COFF (XCOFF)

//===----------------------------------------------------------------------===//
Expand Down