diff options
| author | Frederic Cambus <fred@statdns.com> | 2021-12-20 16:22:01 +0100 |
|---|---|---|
| committer | Frederic Cambus <fred@statdns.com> | 2021-12-20 16:32:02 +0100 |
| commit | f6ba5c4d5f228366a016534e7d1cf099d274fced (patch) | |
| tree | 34a733288e5fb7ddfcceb73b2441e6778567f968 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | ab9078f3d369656c09b5e34bcda6a5d62699a3fb (diff) | |
[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 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
