[llvm] [llvm-debuginfo-analyzer] Add support for WebAssembly binary format. (PR #82588)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 23:32:32 PST 2024


================
@@ -0,0 +1,30 @@
+//-----------------------------------------------------------------------------
+// Definitions.
+//-----------------------------------------------------------------------------
+#ifndef SUITE_DEFINITIONS_H
+#define SUITE_DEFINITIONS_H
+
+#ifdef _MSC_VER
----------------
CarlosAlbertoEnciso wrote:

All the test cases (`.cpp`) used by the `llvm-debuginfo-analyzer` for the WebAssembly are described in detail in the tool documentation.
We used GCC and MSVC to create binaries using those `.cpp` files that are used for the DWARF and COFF testing.
I included the `definitions.h` just to keep consistency between documentation and tests (binaries and sources).

https://github.com/llvm/llvm-project/pull/82588


More information about the llvm-commits mailing list