diff options
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/ELFObjectFile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Object/ELFObjectFile.cpp b/llvm/lib/Object/ELFObjectFile.cpp index cce5c74..0e13d32 100644 --- a/llvm/lib/Object/ELFObjectFile.cpp +++ b/llvm/lib/Object/ELFObjectFile.cpp @@ -904,8 +904,7 @@ Expected<std::vector<BBAddrMap>> static readBBAddrMapImpl( const auto &Sections = cantFail(EF.sections()); auto IsMatch = [&](const Elf_Shdr &Sec) -> Expected<bool> { - if (Sec.sh_type != ELF::SHT_LLVM_BB_ADDR_MAP && - Sec.sh_type != ELF::SHT_LLVM_BB_ADDR_MAP_V0) + if (Sec.sh_type != ELF::SHT_LLVM_BB_ADDR_MAP) return false; if (!TextSectionIndex) return true; |