[Lldb-commits] [lldb] 3fa39c3 - [lldb/test] Update !DIModule for isysroot rename

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 20 21:12:02 PST 2019


Author: Jonas Devlieghere
Date: 2019-12-20T21:11:50-08:00
New Revision: 3fa39c3a79a3b1a88d2da0b3992089e9134fb87f

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

LOG: [lldb/test] Update !DIModule for isysroot rename

The isysroot field in DIModule was renamed to sysroot but the test in
LLDB wasn't updated. This fixes that.

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 6097345bd993..8589d0fe27c2 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
+++ b/lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
@@ -39,8 +39,8 @@ target triple = "x86_64-apple-macosx10.14.0"
 ; 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})
 !3 = !DIFile(filename: "t.c", directory: "/")
-!8 = !DIModule(scope: !9, name: "SubModule", includePath: "", isysroot: "/")
-!9 = !DIModule(scope: null, name: "CModule", includePath: "", isysroot: "/")
+!8 = !DIModule(scope: !9, name: "SubModule", includePath: "", sysroot: "/")
+!9 = !DIModule(scope: null, name: "CModule", includePath: "", sysroot: "/")
 !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