summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-11-01 17:53:30 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-11-01 17:53:30 +0000
commit2ede02f6d07cf79fc52b087cce53d6523313960a (patch)
tree37e71e8decf5c4d8353674ad94a294e18f5d1242 /clang/lib/Driver/Tools.cpp
parent359c532d36d8d7063582782f4c9326f60851c0c5 (diff)
downloadbcm5719-llvm-2ede02f6d07cf79fc52b087cce53d6523313960a.tar.gz
bcm5719-llvm-2ede02f6d07cf79fc52b087cce53d6523313960a.zip
DebugInfo: Make pubnames header printing similar to unit header printing
In a failed attempt to allow the gnu-public-names.ll test case to not hardcode the size of the unit that the pubnames section referred to I've at least managed to have unit headers and pubnames headers print out in a similar style. This failed to achieve the desired goal because the header in a unit specifies the length of the unit without the length element of the header whereas the length in the pubnames includes this element, so the numbers are off by 4 bytes. I don't know of any arithmetic powers in FileCheck so the test case can't simply say "CU_LENGTH + 4". llvm-svn: 193872
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud