[clang] [llvm] [llvm] Avoid resolving `.incbin` during symbol collection (PR #172920)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 12 13:08:10 PST 2026


https://github.com/efriedma-quic commented:

Unfortunately, .incbin can actually affect the set of defined symbols.  A .if directive can check the number of bytes included by a .incbin directive, so it's possible to write an assembly file where the set of defined symbols depends on the size of the included file.

https://github.com/llvm/llvm-project/pull/172920


More information about the cfe-commits mailing list