[PATCH] D30546: Fully precise gc handling of __start and __stop symbols

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 10:06:32 PST 2017


ruiu added inline comments.


================
Comment at: ELF/MarkLive.cpp:259
+    else if (isValidCIdentifier(Sec->Name))
+      CNamedSections[Sec->Name].push_back(Sec);
   }
----------------
Can you simplify resolveReloc if you add two entries (`"__start_" + Sec->Name` and `"__end_" + Sec->Name`) for one section?


https://reviews.llvm.org/D30546





More information about the llvm-commits mailing list