mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
9c47d494f8
SUMMARY: when there are two symbol has the same address. llvm-objdump -D -symbol-description will select symbol based on the following rule: 1. using Label first if there is a Label symbol. 2. If there is not Label, using a symbol which has Storage Mapping class. 3. if more than one symbol has storage mapping class, put the TC0 has the low priority, for other storage mapping class , compare based on the value. Reviewers: James Henderson ,hubert.reinterpretcast, Differential Revision: https://reviews.llvm.org/D78387
23 lines
395 B
CMake
23 lines
395 B
CMake
foreach(t ${LLVM_TARGETS_TO_BUILD})
|
|
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${t})
|
|
add_subdirectory(${t})
|
|
endif()
|
|
endforeach()
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
MC
|
|
MCDisassembler
|
|
Support
|
|
)
|
|
|
|
add_llvm_unittest(MCTests
|
|
Disassembler.cpp
|
|
DwarfLineTables.cpp
|
|
MCInstPrinter.cpp
|
|
StringTableBuilderTest.cpp
|
|
TargetRegistry.cpp
|
|
MCDisassemblerTest.cpp
|
|
)
|
|
|