[clang] [llvm] [llvm] Avoid resolving `.incbin` during symbol collection (PR #172920)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 28 11:46:27 PST 2026
efriedma-quic wrote:
If it's really a constraint that you can't construct absolute expressions like that in inline asm, it's fine, I guess... but I'd like a more in-depth explanation. If this is actually an intentional restriction, we should document it.
(Given multiple different weird interactions we've run into with inline asm and LTO, I'm tempted to suggest we should actually rewrite module-level inline asm to contain the output of an MCAsmStreamer, instead of just scanning the inline asm. But I haven't thought through all the implications.)
https://github.com/llvm/llvm-project/pull/172920
More information about the cfe-commits
mailing list