diff options
author | Fangrui Song <i@maskray.me> | 2025-01-26 20:32:42 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-01-26 20:32:43 -0800 |
commit | 2a26292388fcab0c857c91b2d08074c33abd37e8 (patch) | |
tree | 0349518a606b2ee558b8a122a44861b4958c5770 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0e6b58202ca9c4d1ca814e4bea5bd3f0bac7f329 (diff) | |
download | llvm-2a26292388fcab0c857c91b2d08074c33abd37e8.zip llvm-2a26292388fcab0c857c91b2d08074c33abd37e8.tar.gz llvm-2a26292388fcab0c857c91b2d08074c33abd37e8.tar.bz2 |
[ELF] Make isExported accurate early
LTO compilation might define symbols not in the symbol table (e.g.
__emutls_v.x in test/ELF/lto/wrap-unreferenced-before-codegen.test).
These symbols have a false `isExported` until
`demoteSymbolsAndComputeIsPreemptible`. This is usually benign as we do
not reference `isExported` that early.
Ensure that `isExported` is correct early. This helps remove a redundant
`isExported` computation in `demoteSymbolsAndComputeIsPreemptible`.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions