[Lldb-commits] [lldb] bc163f6 - [lldb] Fix TestModuleGetXcodeSDK test after DWARFYAML change

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 30 05:06:33 PDT 2020


Author: Raphael Isemann
Date: 2020-06-30T14:05:20+02:00
New Revision: bc163f63245e88f18de44f8a13a5c94e78cb18bd

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

LOG: [lldb] Fix TestModuleGetXcodeSDK test after DWARFYAML change

D82622 / fe08ab542bd6328a7906e38ae473cf655eb6a228 changes the YAML format
so this test was failing as the test yaml wasn't updated.

Added: 
    

Modified: 
    lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp b/lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
index ac2c9fed9445..399eaf7aa648 100644
--- a/lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
+++ b/lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
@@ -47,8 +47,7 @@ TEST_F(XcodeSDKModuleTests, TestModuleGetXcodeSDK) {
       - Attribute:       DW_AT_APPLE_sdk
         Form:            DW_FORM_strp
 debug_info:
-  - Length:
-      TotalLength:     8
+  - Length:          8
     Version:         2
     AbbrOffset:      0
     AddrSize:        8


        


More information about the lldb-commits mailing list