forked from OSchip/llvm-project
temporary include stdlib.h in symbolizer to fix Mac/Win build
llvm-svn: 157808
This commit is contained in:
parent
02845c1dd4
commit
cad2e4e6c2
|
@ -16,11 +16,7 @@
|
|||
#include "sanitizer_symbolizer.h"
|
||||
// FIXME: replace library malloc/free with internal_malloc/internal_free
|
||||
// that would be provided by ASan/TSan run-time libraries.
|
||||
#if defined(__linux__)
|
||||
# include <malloc.h>
|
||||
#elif defined(__APPLE__)
|
||||
# include <malloc/malloc.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
namespace __sanitizer {
|
||||
|
||||
|
|
Loading…
Reference in New Issue