[all-commits] [llvm/llvm-project] 5c3bde: [CodeGen] Fix an issue when the 'extern C' replace...
Erich Keane via All-commits
all-commits at lists.llvm.org
Tue Jun 7 11:31:13 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5c3bde96250c5260773009e691f92cb4823372df
https://github.com/llvm/llvm-project/commit/5c3bde96250c5260773009e691f92cb4823372df
Author: Erich Keane <erich.keane at intel.com>
Date: 2022-06-07 (Tue, 07 Jun 2022)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
A clang/test/CodeGenCXX/externc-used-not-replaced.cpp
Log Message:
-----------
[CodeGen] Fix an issue when the 'extern C' replacement names broke
Originally broken by me in D122608, this is a regression where we
attempt to replace an extern-C thing with 'itself'. The problem is that
we end up deleting it, causing the value to fail when it gets put into
llvm.used.
More information about the All-commits
mailing list