Displaying 5 results from an estimated 5 matches for "compiler_rt_build_sanit".
2015 Nov 02
2
[RFC] Strategies for Bootstrapping Compiler-RT builtins
...nd
> guestimate the appropriate C/C++ flags in order to avoid CMake getting in the
> way with the various checks. My scripts build clang & lld, then install the
> linux's kernel & Musl's C library headers and finally build compiler-rt's
> builtins library (by setting COMPILER_RT_BUILD_SANITIZERS=Off). The next steps
> build Musl, libunwind, libcxx and libcxxabi. This way I'm able to "use" CMake
> for every LLVM project.
Setting the *_FORCED variables is roughly equivalent to setting the *_WORKS variables. I’d really like it if we didn’t need to set those.
>
&...
2015 Nov 02
11
[RFC] Strategies for Bootstrapping Compiler-RT builtins
In the effort to flesh out the CMake build system a problematic issue has come up, and I’d like some feedback on how to best handle it.
For reference this issue has been reported by a few users, one proposed patches that don’t really address the underlying problem here:
http://reviews.llvm.org/D13131
The problem comes when bootstrapping a cross-compiler toolchain. In order to have a
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
...LENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Build builtins
COMPILER_RT_BUILD_BUILTINS:BOOL=ON
//Build sanitizers
COMPILER_RT_BUILD_SANITIZERS:BOOL=ON
//Build xray
COMPILER_RT_BUILD_XRAY:BOOL=ON
//Can we execute instrumented tests
COMPILER_RT_CAN_EXECUTE_TESTS:BOOL=ON
//Build runtimes with full debug info
COMPILER_RT_DEBUG:BOOL=OFF
//Build builtins only for the default target
COMPILER_RT_DEFAULT_TARGET_ONLY:BOOL=OFF
//Default tr...