[llvm-bugs] [Bug 52442] New: Wasm .debug_aranges should not contain both code and data addresses
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Nov 8 16:13:09 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=52442
Bug ID: 52442
Summary: Wasm .debug_aranges should not contain both code and
data addresses
Product: libraries
Version: trunk
Hardware: PC
OS: other
Status: NEW
Severity: enhancement
Priority: P
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...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211109/49a8bc06/attachment.html>
More information about the llvm-bugs
mailing list