[llvm-bugs] [Bug 52376] wasm64: unimplemented R_WASM_GLOBAL_INDEX_I64 using -generate-arange-section

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 8 16:07:06 PST 2021


Wouter van Oortmerssen <aardappel at gmail.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Wouter van Oortmerssen <aardappel at gmail.com> ---
This particular assert should be fixed in https://reviews.llvm.org/D113438, see
comments on that commit for details.

The general issue of .debug_aranges making sense however is not yet though,
since (as can be seen in the test code for the above patch) 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. Let me open a
fresh issue for that..

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/f44cfefd/attachment.html>

More information about the llvm-bugs mailing list