[PATCH] D52634: [WIP] [WebAssembly] Add DBG_VALUE with local operands location in WebAssemblyExplicitLocals pass
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 12:52:31 PST 2018
aprantl added a comment.
Can you explain how this new operation is meant to work?
================
Comment at: include/llvm/BinaryFormat/Dwarf.def:626
+// Extensions for WebAssembly.
+HANDLE_DW_OP(0xF6, WASM_location, 0, WASM)
// Extensions for Fission proposal.
----------------
`0xf6`
Did you check against https://sourceware.org/elfutils/DwarfExtensions to see if this is is available?
================
Comment at: include/llvm/BinaryFormat/Dwarf.h:62
+ DWARF_VENDOR_MIPS = 6,
+ DWARF_VENDOR_WASM = 7
};
----------------
Is this actually WASM-specific or is LLVM the only implementation and you could use LLVM instead?
Repository:
rL LLVM
https://reviews.llvm.org/D52634
More information about the llvm-commits
mailing list