[PATCH] D69208: [asan] Provide an interface to update an allocation stack trace.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 11:05:26 PDT 2019


kcc added inline comments.


================
Comment at: compiler-rt/include/sanitizer/asan_interface.h:320
+/// trace. Returns 1 if successfull, 0 if not.
+int __asan_update_allocation(void* addr);
+
----------------
Add some explanation of when it is going to be successful. 
Also, what about threads? 
This API is racey


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69208/new/

https://reviews.llvm.org/D69208





More information about the llvm-commits mailing list