[PATCH] D52739: [PassManager/Sanitizer] Port of AddresSanitizer pass from legacy to new PassManager

Leonard Chan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 4 14:15:36 PDT 2018


leonardchan added a comment.

In https://reviews.llvm.org/D52739#1254912, @philip.pfaffe wrote:

> > Well, it will be a bit tricky to avoid moving the interfaces around, since AddressSanitizer contains quite a load of state
>
> What kind of state is asan tracking that persists across functions or modules?


For `AddressSanitizer` I think this might refer to the GlobalsMetaData and ShadowMapping made during initialization, but I think they get reset on each function run. All tests with the legacy PM still seem to pass though which I think indicates that the logic is still sound even with the ASan functionality separated from the legacy pass.


Repository:
  rL LLVM

https://reviews.llvm.org/D52739





More information about the llvm-commits mailing list