llvm/bolt/lib/Core
Amir Ayupov 68c7299f16 [BOLT][NFC] Fix MCPlusBuilder::getAliases caching behavior
Caching behavior of `getAliases` causes a failure in unit tests where two
MCPlusBuilder objects are created corresponding to AArch64 and X86:
the alias cache is created for AArch64 but then used for X86.

https://lab.llvm.org/staging/#/builders/211/builds/126

The issue only affects unit tests as we only construct one MCPlusBuilder
for ELF binary.

Resolve the issue by moving alias bitvectors to MCPlusBuilder object.

Reviewed By: yota9

Differential Revision: https://reviews.llvm.org/D124942
2022-05-04 12:53:26 -07:00
..
BinaryBasicBlock.cpp [BOLT] Make order of jump table successors deterministic 2022-02-14 10:37:20 -08:00
BinaryContext.cpp [BOLT][DWARF] Implement monolithic DWARF5 2022-04-21 16:02:23 -07:00
BinaryData.cpp [BOLT][NFC] Fix file-description comments 2021-12-21 10:21:41 -08:00
BinaryEmitter.cpp [BOLT] AArch64: Emit text objects 2022-03-31 22:28:50 +03:00
BinaryFunction.cpp [BOLT] Support PC-relative relocations with addends 2022-02-23 22:54:42 -08:00
BinaryFunctionProfile.cpp [BOLT][NFC] Make ICP options naming uniform 2022-05-03 19:32:45 -07:00
BinarySection.cpp [BOLT][NFC] Fix file-description comments 2021-12-21 10:21:41 -08:00
CMakeLists.txt
DebugData.cpp [BOLT][DWARF] Implement monolithic DWARF5 2022-04-21 16:02:23 -07:00
DynoStats.cpp [BOLT][NFC] Fix file-description comments 2021-12-21 10:21:41 -08:00
Exceptions.cpp Cleanup LLVMDWARFDebugInfo 2022-02-15 09:16:03 +01:00
JumpTable.cpp [BOLT][NFC] Reduce includes with include-what-you-use 2022-01-21 12:05:47 -08:00
MCPlusBuilder.cpp [BOLT][NFC] Fix MCPlusBuilder::getAliases caching behavior 2022-05-04 12:53:26 -07:00
ParallelUtilities.cpp [BOLT][NFC] Fix file-description comments 2021-12-21 10:21:41 -08:00
Relocation.cpp [BOLT] Add R_AARCH64_PREL16/32/64 relocations support 2022-04-21 13:52:47 +03:00