[Lldb-commits] [lldb] ec9a3cc - Update testcase for LLVM IR change (sysroot)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 17 11:05:04 PST 2020


Author: Adrian Prantl
Date: 2020-01-17T11:04:55-08:00
New Revision: ec9a3cccd4019e3b371175c7ea7a227e0e737c5b

URL: https://github.com/llvm/llvm-project/commit/ec9a3cccd4019e3b371175c7ea7a227e0e737c5b
DIFF: https://github.com/llvm/llvm-project/commit/ec9a3cccd4019e3b371175c7ea7a227e0e737c5b.diff

LOG: Update testcase for LLVM IR change (sysroot)

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll b/lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
index 8589d0fe27c2..149f7efbbfbe 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
+++ b/lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
@@ -37,10 +37,10 @@ target triple = "x86_64-apple-macosx10.14.0"
 !llvm.ident = !{!22}
 
 ; This simulates the debug info for a Clang module.
-!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, nameTableKind: GNU, retainedTypes: !{!11})
+!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, nameTableKind: GNU, retainedTypes: !{!11}, sysroot: "/")
 !3 = !DIFile(filename: "t.c", directory: "/")
-!8 = !DIModule(scope: !9, name: "SubModule", includePath: "", sysroot: "/")
-!9 = !DIModule(scope: null, name: "CModule", includePath: "", sysroot: "/")
+!8 = !DIModule(scope: !9, name: "SubModule", includePath: "")
+!9 = !DIModule(scope: null, name: "CModule", includePath: "")
 !11 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "FromSubmodule", scope: !8, file: !3, line: 1, size: 96, elements: !13)
 !13 = !{!14, !16, !17}
 !14 = !DIDerivedType(tag: DW_TAG_member, name: "x", scope: !11, file: !3, line: 2, baseType: !15, size: 32)


        


More information about the lldb-commits mailing list