mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
5a0743e1e8
This object is meant to own the ObjectFiles and their underlying MemoryBuffer. It is basically the equivalent of an OwningBinary except that it efficiently handles Archives. It is optimized for efficiently providing mappings of members of the same archive when they are opened successively (which is standard in Darwin debug maps, objects from the same archive will be contiguous). Of course, the BinaryHolder will also be used by the DWARF linker once it is commited, but for now only the debug map parser uses it. With this change, you can run llvm-dsymutil on your Darwin debug build of clang and get a complete debug map for it. Differential Revision: http://reviews.llvm.org/D6690 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225207 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
175 B
CMake
14 lines
175 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Object
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(llvm-dsymutil
|
|
dsymutil.cpp
|
|
BinaryHolder.cpp
|
|
DebugMap.cpp
|
|
DwarfLinker.cpp
|
|
MachODebugMapParser.cpp
|
|
)
|
|
|