diff options
author | Jonas Hahnfeld <jonas.hahnfeld@cern.ch> | 2023-01-23 14:09:48 +0100 |
---|---|---|
committer | Jonas Hahnfeld <jonas.hahnfeld@cern.ch> | 2023-02-01 09:40:30 +0100 |
commit | f1c4f927f7c15b5efdc3589c050fd0513bf6b303 (patch) | |
tree | 65bf5aa48150b3a8486ea31dce53bbf027f90d92 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | e53f41c39f3eb5052965c720d2cb517d2945fd12 (diff) | |
download | llvm-f1c4f927f7c15b5efdc3589c050fd0513bf6b303.zip llvm-f1c4f927f7c15b5efdc3589c050fd0513bf6b303.tar.gz llvm-f1c4f927f7c15b5efdc3589c050fd0513bf6b303.tar.bz2 |
[CodeGen] Filter out available_externally aliases
The Language Reference says that aliases can have available_externally
linkage if their aliasee is an available_externally global value. Using
this kind of aliases resulted in crashes during code generation, filter
them out (the same that the AsmPrinter also filters out GlobalVariables
in emitSpecialLLVMGlobal(); Functions are discarded in the machine pass
infrastructure).
Differential Revision: https://reviews.llvm.org/D142352
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions