[all-commits] [llvm/llvm-project] a63021: [WebAssembly] fix __stack_pointer being added to ....
Wouter van Oortmerssen via All-commits
all-commits at lists.llvm.org
Mon Nov 8 15:56:53 PST 2021
Branch: refs/heads/aranges
Home: https://github.com/llvm/llvm-project
Commit: a630217313fcd38fa0071206ab832c081d0eac37
https://github.com/llvm/llvm-project/commit/a630217313fcd38fa0071206ab832c081d0eac37
Author: Wouter van Oortmerssen <aardappel at gmail.com>
Date: 2021-11-08 (Mon, 08 Nov 2021)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
M llvm/test/MC/WebAssembly/debug-info.ll
M llvm/test/MC/WebAssembly/debug-info64.ll
Log Message:
-----------
[WebAssembly] fix __stack_pointer being added to .debug_aranges
When emitting a reloc for the Wasm global __stack_pointer, it was inadvertedly added to the symbols used for generating aranges, which caused some aranges to use it as the end symbol in a symbol diff, which caused a reloc for it to be emitted, which then caused an assert in `wasm64` since we have no 64-bit relocs for Wasm globals.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=52376
Differential Revision: https://reviews.llvm.org/D113438
More information about the All-commits
mailing list