diff options
Diffstat (limited to 'third_party/llvm-project/include/llvm')
-rw-r--r-- | third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.def | 2 | ||||
-rw-r--r-- | third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.def b/third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.def index 34a7410f7..0be31bb2c 100644 --- a/third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.def +++ b/third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.def @@ -647,6 +647,8 @@ HANDLE_DW_OP(0xa9, reinterpret, 5, DWARF) // Vendor extensions: // Extensions for GNU-style thread-local storage. HANDLE_DW_OP(0xe0, GNU_push_tls_address, 0, GNU) +// Extensions for WebAssembly. +HANDLE_DW_OP(0xed, WASM_location, 0, WASM) // The GNU entry value extension. HANDLE_DW_OP(0xf3, GNU_entry_value, 0, GNU) // Extensions for Fission proposal. diff --git a/third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.h b/third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.h index 93eaf3680..2ad201831 100644 --- a/third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.h +++ b/third_party/llvm-project/include/llvm/BinaryFormat/Dwarf.h @@ -63,7 +63,8 @@ enum LLVMConstants : uint32_t { DWARF_VENDOR_GNU = 3, DWARF_VENDOR_GOOGLE = 4, DWARF_VENDOR_LLVM = 5, - DWARF_VENDOR_MIPS = 6 + DWARF_VENDOR_MIPS = 6, + DWARF_VENDOR_WASM = 7 }; /// Constants that define the DWARF format as 32 or 64 bit. |