llvm.org GIT mirror llvm / 5cd6db9
Don't link with the archive library programs that don't use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184081 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 7 years ago
7 changed file(s) with 6 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
None set(LLVM_LINK_COMPONENTS archive bitreader object)
0 set(LLVM_LINK_COMPONENTS bitreader object)
11
22 add_llvm_tool(llvm-nm
33 llvm-nm.cpp
1818 type = Tool
1919 name = llvm-nm
2020 parent = Tools
21 required_libraries = Archive BitReader Object
21 required_libraries = BitReader Object
88
99 LEVEL := ../..
1010 TOOLNAME := llvm-nm
11 LINK_COMPONENTS := archive bitreader object
11 LINK_COMPONENTS := bitreader object
1212
1313 # This tool has no plugins, optimize startup time.
1414 TOOL_NO_EXPORTS := 1
0 set(LLVM_LINK_COMPONENTS
11 ${LLVM_TARGETS_TO_BUILD}
2 archive
32 bitreader
43 object)
54
1818 type = Tool
1919 name = llvm-readobj
2020 parent = Tools
21 required_libraries = all-targets Archive BitReader Object
21 required_libraries = all-targets BitReader Object
88
99 LEVEL := ../..
1010 TOOLNAME := llvm-readobj
11 LINK_COMPONENTS := archive bitreader object all-targets
11 LINK_COMPONENTS := bitreader object all-targets
1212
1313 # This tool has no plugins, optimize startup time.
1414 TOOL_NO_EXPORTS := 1
None set(LLVM_LINK_COMPONENTS archive object)
0 set(LLVM_LINK_COMPONENTS object)
11
22 add_llvm_utility(obj2yaml
33 obj2yaml.cpp coff2yaml.cpp