]> granicus.if.org Git - llvm/commit
[codeview] use 32-bit integer for RelocOffset in DebugLinesSubsection
authorBob Haarman <llvm@inglorion.net>
Fri, 9 Jun 2017 01:18:10 +0000 (01:18 +0000)
committerBob Haarman <llvm@inglorion.net>
Fri, 9 Jun 2017 01:18:10 +0000 (01:18 +0000)
commit67d04e8fdfc56a9040357672b97f1a38714aa7a8
treeb501e59ffac8d3b43d7793d8d809e313f02f0a4d
parent680d997aa787c495d175da198467b0c0dee5b463
[codeview] use 32-bit integer for RelocOffset in DebugLinesSubsection

Summary:
RelocOffset is a 32-bit value, but we previously truncated it to 16 bits.

Fixes PR33335.

Reviewers: zturner, hiraditya!

Reviewed By: zturner

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D33968

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305043 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h
lib/DebugInfo/CodeView/DebugLinesSubsection.cpp
test/DebugInfo/PDB/Inputs/debug-subsections.yaml