[llvm] c8da999 - [llvm-debuginfo-analyzer][DOC] Change .wasm references to .o (#85566)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 17 22:07:12 PDT 2024
Author: Carlos Alberto Enciso
Date: 2024-03-18T05:07:08Z
New Revision: c8da99959df412fdbf9c3d0d4c0c3e0689609c31
URL: https://github.com/llvm/llvm-project/commit/c8da99959df412fdbf9c3d0d4c0c3e0689609c31
DIFF: https://github.com/llvm/llvm-project/commit/c8da99959df412fdbf9c3d0d4c0c3e0689609c31.diff
LOG: [llvm-debuginfo-analyzer][DOC] Change .wasm references to .o (#85566)
As part of the WebAssembly support work
https://github.com/llvm/llvm-project/pull/82588
As the object files used in the test cases are a single object (just
produced by clang without being processed by wasm-ld), it was determined
to use .o intead of .wasm.
Update the README.txt to reflect that the tool now supports WebAssembly.
Added:
Modified:
llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
llvm/tools/llvm-debuginfo-analyzer/README.txt
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst b/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
index 00c070cedb479c..54622cc61fdfda 100644
--- a/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
+++ b/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
@@ -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
@@ -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
@@ -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'
@@ -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'
@@ -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'
@@ -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'
@@ -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:
@@ -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'
diff --git a/llvm/tools/llvm-debuginfo-analyzer/README.txt b/llvm/tools/llvm-debuginfo-analyzer/README.txt
index e6c20db7cd7121..d5b636c0f2d985 100644
--- a/llvm/tools/llvm-debuginfo-analyzer/README.txt
+++ b/llvm/tools/llvm-debuginfo-analyzer/README.txt
@@ -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)
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list