[PATCH] D96914: [ELF] Don't let __start_/__stop_ retain C identifier name sections

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 23:44:53 PST 2021


MaskRay added inline comments.


================
Comment at: lld/test/ELF/gc-sections-metadata-startstop.s:10
 
-# CHECK: SYMBOL TABLE:
-# CHECK:   xx    0000000000000000 .protected __start_xx
-# CHECK: w *UND* 0000000000000000 __start_yy
+## To make -fprofile-generate/-fprofile-instr-generated compiled programs link with libclang_rt.profile-*
+## built with GCC<11/Clang<13, we install a workaround to retain zero size sections.
----------------
Will delete this stray comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96914/new/

https://reviews.llvm.org/D96914



More information about the llvm-commits mailing list