================
@@ -2756,10 +2758,23 @@
CodeGenFunction::SanitizerScope::SanitizerScope(CodeGenFunction *CGF)
: CGF(CGF) {
assert(!CGF->IsSanitizerScope);
CGF->IsSanitizerScope = true;
+
+ assert(!this->ApplyTrapDI);
+}
+
+CodeGenFunction::SanitizerScope::SanitizerScope(
+ CodeGenFunction *CGF, ArrayRef<SanitizerKind::SanitizerOrdinal> Ordinals,
+ SanitizerHandler Handler)
+ : SanitizerScope(CGF) {
+ this->ApplyTrapDI = new ApplyDebugLocation(
----------------
thurstond wrote:
Fixed in
https://github.com/llvm/llvm-project/pull/141997/commits/2a816fe9d18f8e024a3d02ba15eb0e1827a1e980
> drop all the `this`
It's cleaner?
https://github.com/llvm/llvm-project/pull/141997
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits