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 | 988a7f8b79923d8ef0e1501f22fbc38d513beb19 (patch) | |
tree | 8a669fae24d934a883a6271e4f38aa7321d863ff /llvm/test/Transforms/LoopVectorize/debugloc.ll | |
parent | 91b959352c3415b88da3c2db281e67e7a1d9f569 (diff) | |
download | bcm5719-llvm-988a7f8b79923d8ef0e1501f22fbc38d513beb19.tar.gz bcm5719-llvm-988a7f8b79923d8ef0e1501f22fbc38d513beb19.zip |
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).
llvm-svn: 233415
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/debugloc.ll')
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/debugloc.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/debugloc.ll b/llvm/test/Transforms/LoopVectorize/debugloc.ll index 97d9da0e404..b9f98cfef04 100644 --- a/llvm/test/Transforms/LoopVectorize/debugloc.ll +++ b/llvm/test/Transforms/LoopVectorize/debugloc.ll @@ -65,7 +65,7 @@ attributes #1 = { nounwind readnone } !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (trunk 185038) (llvm/trunk 185097)", isOptimized: true, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2) !1 = !MDFile(filename: "-", directory: "/Volumes/Data/backedup/dev/os/llvm/debug") -!2 = !{i32 0} +!2 = !{} !3 = !{!4} !4 = !MDSubprogram(name: "f", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 3, file: !5, scope: !6, type: !7, function: i32 (i32*, i32)* @f, variables: !12) !5 = !MDFile(filename: "<stdin>", directory: "/Volumes/Data/backedup/dev/os/llvm/debug") |