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

Max Moroz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 08:23:00 PDT 2018


Dor1s added inline comments.


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


Repository:
  rL LLVM

https://reviews.llvm.org/D53113





More information about the llvm-commits mailing list