AsmParser: Fix error location for missing fields
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 19 Jan 2015 23:32:36 +0000 (23:32 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 19 Jan 2015 23:32:36 +0000 (23:32 +0000)
commit5d2d1f29e16d258dcfaa39eaed7c407c4085afa1
tree8bd1127059598f31fc02eb9a670df0c267df8d16
parent0d7ab298896b0c2dfb769243e7067474884d258a
AsmParser: Fix error location for missing fields

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226524 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
test/Assembler/invalid-mdlocation-missing-scope-2.ll [new file with mode: 0644]
test/Assembler/invalid-mdlocation-missing-scope.ll [new file with mode: 0644]