diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-27 20:46:33 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-27 20:46:33 +0000 |
commit | 77a0728d96eebf324044e7e5b60d2a244b5b6a96 (patch) | |
tree | 4bbc5fdf5243568c5cd801bb9e671c16d4dd5f6d /test/Linker/2011-08-04-DebugLoc.ll | |
parent | 81cd5e82a8f0caae5ae8ab0c766be2bf12de6294 (diff) |
DebugInfo: Fix bad debug info for compile units and types
Fix debug info in these tests, which started failing with a WIP patch to
verify compile units and types. The problems look like they were all
caused by bitrot. They fell into these categories:
- Using `!{i32 0}` instead of `!{}`.
- Using `!{null}` instead of `!{}`.
- Using `!MDExpression()` instead of `!{}`.
- Using `!8` instead of `!{!8}`.
- `file:` references that pointed at `MDCompileUnit`s instead of the
same `MDFile` as the compile unit.
- `file:` references that were numerically off-by-one or (off-by-ten).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233415 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/2011-08-04-DebugLoc.ll')
-rw-r--r-- | test/Linker/2011-08-04-DebugLoc.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Linker/2011-08-04-DebugLoc.ll b/test/Linker/2011-08-04-DebugLoc.ll index 18fa7da62d3..25d08cdffed 100644 --- a/test/Linker/2011-08-04-DebugLoc.ll +++ b/test/Linker/2011-08-04-DebugLoc.ll @@ -26,6 +26,6 @@ define i32 @foo() nounwind ssp { !6 = !MDLocation(line: 2, column: 13, scope: !7) !7 = distinct !MDLexicalBlock(line: 2, column: 11, file: !8, scope: !1) !8 = !MDFile(filename: "a.c", directory: "/private/tmp") -!9 = !{i32 0} +!9 = !{} !10 = !{!1} !11 = !{i32 1, !"Debug Info Version", i32 3} |