Displaying 4 results from an estimated 4 matches for "have_malloc_zone_statist".
2008 Nov 12
0
[LLVMdev] [PATCH] Enable malloc_zone_statistics() in Mac OS X (cmake)
For Mac OS X, we have malloc_zone_statistics() defined
<malloc/malloc.h>, however, if we don't define
HAVE_MALLOC_ZONE_STATISTICS, that function won't be used
and we will get warnings like:
lib/System/Unix/Process.inc:68:2: warning: #warning Cannot get
malloc info on this platform
This patch enables this function in cmake build.
---
cmake/config-ix.cmake | 1 +
include/llvm/Config/config.h.cmake |...
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote:
[ brutal-snip ]
...
> [ TODO#S: Before doing a 2nd build (and in a 3rd run using more
> optimized binaries) ]
>
> How do I anable LTO via CMAKE?
>
>
> LLVM_ENALBLE_LTO=On
>
[ v4 of my build-script attached ]
Hi Chris,
thanks for the response!
That seems to work (see below).
$ cd
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...AL=1
//Have include mach/mach.h
HAVE_MACH_MACH_H:INTERNAL=
//Have symbol mallctl
HAVE_MALLCTL:INTERNAL=
//Have symbol mallinfo
HAVE_MALLINFO:INTERNAL=1
//Have include malloc.h
HAVE_MALLOC_H:INTERNAL=1
//Have include malloc/malloc.h
HAVE_MALLOC_MALLOC_H:INTERNAL=
//Have symbol malloc_zone_statistics
HAVE_MALLOC_ZONE_STATISTICS:INTERNAL=
//Have symbol mkdtemp
HAVE_MKDTEMP:INTERNAL=1
//Have symbol mkstemp
HAVE_MKSTEMP:INTERNAL=1
//Have symbol mktemp
HAVE_MKTEMP:INTERNAL=1
//Have include ndir.h
HAVE_NDIR_H:INTERNAL=
//Have symbol posix_fallocate
HAVE_POSIX_FALLOCATE:INTERNAL=1
//Have symbol posix_spawn
HAVE_POSIX_SPAWN:I...