The AddressSanitizer initialization occurs on construction when it doesn't need to be initialized every time. The same sanitizer object can be used multiple times and initialized once. This makes AddressSanitizer a member of AddressSanitizerLegacyPass so the initialization only needs to be called once instead of on every function run.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rL LLVM