OSDN Git Service

IR: Allow 32-bits for lines in debug location
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 6 Feb 2015 22:50:13 +0000 (22:50 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 6 Feb 2015 22:50:13 +0000 (22:50 +0000)
commit8713d99a25980b7f48d88c114a75a0e5f41a68dc
tree71d23dd0c6c0cdd625283a7d62943e59644116fe
parent4752dabe97352ef367b66bc08c2519e64418ef1f
IR: Allow 32-bits for lines in debug location

Remove unnecessary restriction of 24-bits for line numbers in
`MDLocation`.

The rest of the debug info schema (with the exception of local
variables) uses 32-bits for line numbers.  As I introduce the
specialized nodes, it makes sense to canonicalize on one size or the
other.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
lib/IR/DebugInfoMetadata.cpp
test/Assembler/invalid-mdlocation-overflow-line.ll
test/Assembler/mdlocation.ll
unittests/IR/MetadataTest.cpp