[all-commits] [llvm/llvm-project] a0f452: [WebAssembly] Fix split-dwarf not emitting DW_OP_W...

Wouter van Oortmerssen via All-commits all-commits at lists.llvm.org
Mon Mar 1 11:54:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0f4526836a76a5e2f56d25c7e35cfd89b2d0908
      https://github.com/llvm/llvm-project/commit/a0f4526836a76a5e2f56d25c7e35cfd89b2d0908
  Author: Wouter van Oortmerssen <aardappel at gmail.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/test/MC/WebAssembly/dwarfdump.ll

  Log Message:
  -----------
  [WebAssembly] Fix split-dwarf not emitting DW_OP_WASM_location correctly

It was using the regular path for target indices that uses uleb, but TI_GLOBAL_RELOC needs to be uint32_t.
Introduced here: https://reviews.llvm.org/D85685
Fixes: https://github.com/emscripten-core/emscripten/issues/13240

Differential Revision: https://reviews.llvm.org/D97564




More information about the All-commits mailing list