summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-12-06 19:38:46 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-12-06 19:38:46 +0000
commit2666e24ca57a1a68f28127b84fe9d6eca46ca9f1 (patch)
tree1c1da2b121453a026694b939d93d4831021ed96c /llvm/lib/Object/ELFObjectFile.cpp
parentf5308fac1e8205a862fdcfe9e5c8f66cf3c9c4d3 (diff)
downloadbcm5719-llvm-2666e24ca57a1a68f28127b84fe9d6eca46ca9f1.tar.gz
bcm5719-llvm-2666e24ca57a1a68f28127b84fe9d6eca46ca9f1.zip
DebugInfo: Ensure unit IDs (for non-skeletal units) match thein index in the list
This simplifies reasoning about the code and enables simple navigation from a skeleton to its full unit. (currently there are no type unit skeletons, so the skeleton list doesn't have the same ID == index property) Eventually we should get rid of this ID and just store the labels we need as the IDs are allowing this code to create difficult to manage/understand associations (loops over non-skeletal units are implicitly referencing their skeletal units during pub* emission, for example). It may be necessary to have some kind of skeleton->full unit association and a more direct pointer or similar device would be preferable than an index. llvm-svn: 196600
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud