[PATCH] D23398: [XRay] Synthesize a reference to the xray_instr_map

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 20:23:18 PDT 2016


rnk added a comment.

My thought was that gold and other linkers could look out for use of the `__+section+_start` symbol in the final executable, and use that to figure out when to power down --gc-sections. If it's a data (not code) section and the start and end are used, it seems like a pretty solid bet that the user expects to find that data at runtime.

Anyway, the workaround should be fine for now.


Repository:
  rL LLVM

https://reviews.llvm.org/D23398





More information about the llvm-commits mailing list