[llvm-bugs] [Bug 51555] WebAssembly .s format can omit .globaltype for __stack_pointer
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 2 15:50:07 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51555
Wouter van Oortmerssen <aardappel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Wouter van Oortmerssen <aardappel at gmail.com> ---
Thanks for reporting, and figuring out the problem!
The point of MachineSymbolsUsed is that they are indeed all collected before
emitExternalDecls ever gets called, but that wasn't happening, because the pass
that does so, WebAssemblyMCLowerPrePass, was a FunctionPass which can get
scheduled interleaved with the AsmPrinter.
This patch changes it to a ModulePass to fix that:
https://reviews.llvm.org/D109202
--
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/20210902/bb5d868f/attachment.html>
More information about the llvm-bugs
mailing list