[llvm-bugs] [Bug 52442] New: Wasm .debug_aranges should not contain both code and data addresses
llvm-bugs at lists.llvm.org
Mon Nov 8 16:13:09 PST 2021
Bug ID: 52442
Summary: Wasm .debug_aranges should not contain both code and
Component: Backend: WebAssembly
Assignee: unassignedbugs at nondot.org
Reporter: aardappel at gmail.com
CC: llvm-bugs at lists.llvm.org
Follow-up from: https://bugs.llvm.org/show_bug.cgi?id=52376
As can be seen in the test code fixed in https://reviews.llvm.org/D113438 we
are emitting aranges for 2 separate "address spaces": data in linear memory,
and code as code section offsets. These could overlap and thus not make sense.
Since aranges does not accomodate for the concept of address spaces, the
easiest solution may be to only emit code offsets to aranges.
Aranges are being collected thru addArangeLabel in DwarfCompileUnit.cpp, and
thus some Wasm specific code filtering out data symbols may be required there?
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs