[all-commits] [llvm/llvm-project] 48139e: [WebAssembly] Add int32 DW_OP_WASM_location variant

Wouter van Oortmerssen via All-commits all-commits at lists.llvm.org
Thu Apr 16 16:32:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 48139ebc3a1adee2efa0e6a72d6058e8e3712059
      https://github.com/llvm/llvm-project/commit/48139ebc3a1adee2efa0e6a72d6058e8e3712059
  Author: Wouter van Oortmerssen <aardappel at gmail.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M lld/test/wasm/debuginfo.test
    M lld/wasm/InputChunks.cpp
    M lld/wasm/InputFiles.cpp
    M lld/wasm/Relocations.cpp
    M llvm/include/llvm/BinaryFormat/Dwarf.def
    M llvm/include/llvm/BinaryFormat/WasmRelocs.def
    M llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/Object/RelocationResolver.cpp
    M llvm/lib/Object/WasmObjectFile.cpp
    M llvm/lib/ObjectYAML/WasmEmitter.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
    M llvm/lib/Target/WebAssembly/WebAssembly.h
    M llvm/lib/Target/WebAssembly/WebAssemblyDebugValueManager.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
    M llvm/test/CodeGen/WebAssembly/debugtest-opt.ll
    M llvm/test/DebugInfo/WebAssembly/dbg-value-dwarfdump.ll
    M llvm/test/MC/WebAssembly/debug-info.ll
    M llvm/test/MC/WebAssembly/debug-localvar.ll
    M llvm/test/MC/WebAssembly/dwarfdump.ll
    M llvm/tools/llvm-readobj/WasmDumper.cpp

  Log Message:
  -----------
  [WebAssembly] Add int32 DW_OP_WASM_location variant

This to allow us to add reloctable global indices as a symbol.
Also adds R_WASM_GLOBAL_INDEX_I32 relocation type to support it.

See discussion in https://github.com/WebAssembly/debugging/issues/12




More information about the All-commits mailing list