[PATCH] D24733: [ELF] Add .debug* and .comment sections to the list of sections ignored by GC.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 10:03:51 PDT 2016


rafael added inline comments.

================
Comment at: ELF/MarkLive.cpp:169
@@ -168,3 +168,3 @@
 
 // Sections listed below are special because they are used by the loader
 // just by being in an ELF file. They should not be garbage-collected.
----------------
you need to update this comment.

================
Comment at: test/ELF/gc-sections.s:17
@@ -16,1 +16,3 @@
 # NOGC: Name: .fini
+# NOGC: Name: .debug_pubtypes
+# NOGC: Name: .comment
----------------
You are only testing the case without --gc-sections


https://reviews.llvm.org/D24733





More information about the llvm-commits mailing list