[llvm-commits] [compiler-rt] r149875 - /compiler-rt/trunk/lib/asan/asan_malloc_win.cc

Sebastian Redl sebastian.redl at getdesigned.at
Mon Feb 6 11:13:14 PST 2012


On 06.02.2012, at 18:56, Kostya Serebryany wrote:

> Author: kcc
> Date: Mon Feb  6 11:56:38 2012
> New Revision: 149875
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=149875&view=rev
> Log:
> [asan] The first version of Windows malloc interceptors, patch by timurrrr at google.com
> 
> +// FIXME: Simply defining functions with the same signature in *.obj
> +// files overrides the standard functions in *.lib
> +// This works well for simple helloworld-like tests but might need to be
> +// revisited in the future.

Do you support mixing non-asan modules (DLLs) with asan modules? I can see trouble there, if a module allocates with native malloc and another frees with asan malloc, or vice versa.

Sebastian





More information about the llvm-commits mailing list