[PATCH] D11109: basic code generation for use-after-dtor

Evgeniy Stepanov eugenis at google.com
Mon Jul 13 11:23:16 PDT 2015


eugenis added a comment.

Please add a CodeGen test.


================
Comment at: lib/CodeGen/CGClass.cpp:1471
@@ +1470,3 @@
+    llvm::Value *Fn =
+        CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_exit_callback");
+    EmitNounwindRuntimeCall(Fn, Args);
----------------
I think remove "_exit" from the name - it can be confused with the program exit.




http://reviews.llvm.org/D11109







More information about the cfe-commits mailing list