summaryrefslogtreecommitdiff
path: root/lib/Target/NVPTX
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-06 18:45:14 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-06 18:45:14 +0000
commit5beec3aa928fa9675784e7f2f0d255792323cd19 (patch)
tree761bc33e191f47a57a4bf909b15153bceeada56c /lib/Target/NVPTX
parent8cfe2c00b0609af9a15acb6715847bf59c110e60 (diff)
downloadllvm-5beec3aa928fa9675784e7f2f0d255792323cd19.tar.gz
llvm-5beec3aa928fa9675784e7f2f0d255792323cd19.tar.bz2
llvm-5beec3aa928fa9675784e7f2f0d255792323cd19.tar.xz
Match the full hex offsets in test/DebugInfo/X86/gnu-public-names.ll
These checks were accidentally skipping the 0x prefix in the hex offsets, then cunningly ignoring the prefix in the use of those captured values. Except in the case of the unit length, where the match was only matching the leading '0' before the x in the 0x prefix, then matching that against the length. We can't actually express the length association here, as the length field in the Compile Unit header does not include the length field itself, but the length field in the pubnames section /does/ include the size of the length field in the Compile Unit header - so the two numbers are actually 4 bytes different. Just skip matching that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/NVPTX')
0 files changed, 0 insertions, 0 deletions