aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorFrederic Cambus <fred@statdns.com>2021-12-20 16:22:01 +0100
committerFrederic Cambus <fred@statdns.com>2021-12-20 16:32:02 +0100
commitf6ba5c4d5f228366a016534e7d1cf099d274fced (patch)
tree34a733288e5fb7ddfcceb73b2441e6778567f968 /clang/lib/CodeGen/CodeGenFunction.cpp
parentab9078f3d369656c09b5e34bcda6a5d62699a3fb (diff)
downloadllvm-f6ba5c4d5f228366a016534e7d1cf099d274fced.zip
llvm-f6ba5c4d5f228366a016534e7d1cf099d274fced.tar.gz
llvm-f6ba5c4d5f228366a016534e7d1cf099d274fced.tar.bz2
[llvm-readobj] Check ELFType value first when checking for OpenBSD notes.
Checking ELFType == ELF::ET_CORE first skips string comparison for the majority of cases. Suggested by Fangrui Song in D114635 for a similar construct.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions