diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-08-18 15:32:21 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-09-07 23:38:09 -0500 |
commit | 711bf7dcf9546fefe18d32a5772d48e7b5166f08 (patch) | |
tree | bc679d8875ebb6ae72188ad6d4b81eebb69a2934 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 53e4ef7fc25903430436ce456909d97aaa0fd6b2 (diff) | |
download | llvm-711bf7dcf9546fefe18d32a5772d48e7b5166f08.zip llvm-711bf7dcf9546fefe18d32a5772d48e7b5166f08.tar.gz llvm-711bf7dcf9546fefe18d32a5772d48e7b5166f08.tar.bz2 |
[Attributor][FIX] Don't crash on internalizing linkonce_odr hidden functions
The CloneFunctionInto has implicit requirements with regards to the
linkage and visibility of the function. We now update these after we did
the CloneFunctionInto on the copy with the same linkage and visibility
as the original.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions