[Lldb-commits] [lldb] 6539481 - [lldb] Account for DWARF 5 sections in TestCTF.py

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 14 16:57:39 PDT 2024


Author: Jonas Devlieghere
Date: 2024-10-14T16:57:33-07:00
New Revision: 6539481c8e7a840a41f6835426ddfbcdc234c831

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

LOG: [lldb] Account for DWARF 5 sections in TestCTF.py

Update the TestCTF Makefile to remove the DWARF 5 sections.

Added: 
    

Modified: 
    lldb/test/API/macosx/ctf/Makefile

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/ctf/Makefile b/lldb/test/API/macosx/ctf/Makefile
index 0857e234837e54..eeef9351e3ef13 100644
--- a/lldb/test/API/macosx/ctf/Makefile
+++ b/lldb/test/API/macosx/ctf/Makefile
@@ -17,15 +17,19 @@ a.ctf: a.out.dSYM
 		-o a.ctf \
 		a.out.dSYM/Contents/Resources/DWARF/a.out
 	$(OBJCOPY) \
-		-R __DWARF,__debug_line \
-		-R __DWARF,__debug_aranges \
-		-R __DWARF,__debug_info \
-		-R __DWARF,__debug_abbrev \
-		-R __DWARF,__debug_str \
 		-R __DWARF,__apple_names \
 		-R __DWARF,__apple_namespac \
-		-R __DWARF,__apple_types \
 		-R __DWARF,__apple_objc \
+		-R __DWARF,__apple_types \
+		-R __DWARF,__debug_abbrev \
+		-R __DWARF,__debug_addr \
+		-R __DWARF,__debug_aranges \
+		-R __DWARF,__debug_info \
+		-R __DWARF,__debug_line \
+		-R __DWARF,__debug_line_str \
+		-R __DWARF,__debug_names \
+		-R __DWARF,__debug_str \
+		-R __DWARF,__debug_str_offs \
 		a.ctf a.ctf
 	rm -rf a.out.dSYM
 	rm -rf test.o


        


More information about the lldb-commits mailing list