Skip to content

Commit

Permalink
On mac, it seems the MC disassembler is actually using the targetinfo
Browse files Browse the repository at this point in the history
for targets that don't have an MC-ized disassembler. I'm suspicious that
this shouldn't actually be happening, but hoping to fix the CMake build
on macs first, and investigate why second.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136508 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chandlerc committed Jul 29, 2011
1 parent 95ece8e commit c91d626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MC/MCDisassembler/CMakeLists.txt
Expand Up @@ -17,5 +17,7 @@ foreach(t ${LLVM_TARGETS_TO_BUILD})
set(td ${LLVM_MAIN_SRC_DIR}/lib/Target/${t})
if(EXISTS ${td}/Disassembler/CMakeLists.txt)
add_llvm_library_dependencies(LLVMMCDisassembler "LLVM${t}Disassembler")
elseif(EXISTS ${td}/TargetInfo/CMakeLists.txt)
add_llvm_library_dependencies(LLVMMCDisassembler "LLVM${t}Info")
endif()
endforeach(t)

0 comments on commit c91d626

Please sign in to comment.