aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2015-03-04 22:07:44 +0000
committerFrederic Riss <friss@apple.com>2015-03-04 22:07:44 +0000
commitb8b43d5494cd7dac93c9780341ae0a57bc118b68 (patch)
treea8dc3b2f613e499fc570caa177596bff3990baff /llvm/lib/Support/LockFileManager.cpp
parent77f850e3368f4f33dcab2067b98fab8a22beedcf (diff)
downloadllvm-b8b43d5494cd7dac93c9780341ae0a57bc118b68.zip
llvm-b8b43d5494cd7dac93c9780341ae0a57bc118b68.tar.gz
llvm-b8b43d5494cd7dac93c9780341ae0a57bc118b68.tar.bz2
[dsymutil] Add minimal code to emit DIE trees.
This commit adds code to emit DIE trees that have been pruned from the parts that haven't been marked as kept in the previous pass. It works by 'cloning' the input DIE tree (as read by libDebugInfoDwarf) into a tree of DIE objects. Cloning the DIEs means essentially cloning their attributes. The code in this commit does only handle scalar and block attributes (scalar because they are trivial, blocks because they can't be easily replaced by a scalr placeholder), all the other ones are replaced by placeholder zero values and will be handled in further commits. The added tests mostly check that the DIE tree has the correct layout and also verify that a few chosen scalar and block attributes correctly make their way into the output. llvm-svn: 231300
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions