aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPiJoules <6019989+PiJoules@users.noreply.github.com>2025-05-16 14:54:18 -0700
committerGitHub <noreply@github.com>2025-05-16 14:54:18 -0700
commit33684ac9be4892579f63a8e2b67080419426cf98 (patch)
treeea529aaea63f0afe992da8e807c6f1664d3c25f3 /clang/lib/Frontend/CompilerInvocation.cpp
parent555d68f3db3fd189809bd19dd274e3bf5ac68d2f (diff)
downloadllvm-33684ac9be4892579f63a8e2b67080419426cf98.zip
llvm-33684ac9be4892579f63a8e2b67080419426cf98.tar.gz
llvm-33684ac9be4892579f63a8e2b67080419426cf98.tar.bz2
[llvm][CFI] Do not canonicalize COFF functions in a comdat (#139962)
COFF requires that a function exists with the same name as a comdat. Not having this key function results in `LLVM ERROR: Associative COMDAT symbol '...' does not exist.` CFI by default will attempt to canonicalize a function by appending `.cfi` to its name which allows external references to refer to the new canonical alias, but it does not change the comdat name. We can change the comdat name since symbol and comdat resolution occurs before LTO, so we already know which symbols are prevailing.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions