[PATCH] [Core] Do not reclaim absolute atoms in resolver

Shankar Kalpathi Easwaran shankarke at gmail.com
Mon Feb 23 05:08:16 PST 2015


================
Comment at: lib/Core/Resolver.cpp:393-394
@@ -390,1 +392,4 @@
+    if (const AbsoluteAtom *absAtom = dyn_cast<AbsoluteAtom>(atom))
+      markLive(absAtom);
+  }
   // By default, shared libraries are built with all globals as dead strip roots
----------------
shankarke wrote:
> Is this something GNU only ?
If its GNU only, then you need to add a linkingContext get/set function to check for flavors that want to reclaim absolute atoms.

http://reviews.llvm.org/D7823

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list