[PATCH] D53113: [SanitizerCoverage] Make Inline8bit and TracePC counters dead stripping resistant.

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 10 15:47:59 PDT 2018


morehouse accepted this revision.
morehouse added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Transforms/Instrumentation/SanitizerCoverage.cpp:647
+    GlobalsToAppendToUsed.push_back(FunctionPCsArray);
+  }
 }
----------------
Maybe do the append in `CreateFunctionLocalArrayInSection` to save some LOC?


Repository:
  rL LLVM

https://reviews.llvm.org/D53113





More information about the llvm-commits mailing list