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

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 23:44:56 PST 2021


phosek added inline comments.


================
Comment at: lld/test/ELF/gc-sections-metadata-startstop.s:10-11
 
-# 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.
+
----------------
MaskRay wrote:
> Will delete this stray comment.
Leftover from previous version?


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