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/GCOVProfiling | |
| 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/GCOVProfiling')
| -rw-r--r-- | llvm/test/Transforms/GCOVProfiling/linkagename.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/GCOVProfiling/linkagename.ll b/llvm/test/Transforms/GCOVProfiling/linkagename.ll index 99ef08a4f64..22442611bec 100644 --- a/llvm/test/Transforms/GCOVProfiling/linkagename.ll +++ b/llvm/test/Transforms/GCOVProfiling/linkagename.ll @@ -16,7 +16,7 @@ entry: !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 177323)", isOptimized: false, emissionKind: 0, file: !2, enums: !3, retainedTypes: !3, subprograms: !4, globals: !3, imports: !3) !1 = !MDFile(filename: "hello.cc", directory: "/home/nlewycky") !2 = !MDFile(filename: "hello.cc", directory: "/home/nlewycky") -!3 = !{i32 0} +!3 = !{} !4 = !{!5} !5 = !MDSubprogram(name: "foo", linkageName: "_Z3foov", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !1, type: !6, function: void ()* @_Z3foov, variables: !3) !6 = !MDSubroutineType(types: !7) |

