[compiler-rt] [compiler-rt][asan] _aligned_malloc/_aligned_free interception. (PR #82049)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 02:00:29 PST 2024


zmodem wrote:

> quick question how do you build LLVM ? might be best to align ... I m more used to unixes :) thx

I build with cmake and ninja in a Visual Studio (2019) command prompt. The CMake invocation was probably something like:

```
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt" ..\llvm
```

(You can probably add `-DLLVM_TARGETS_TO_BUILD=X86` to that.)

And then I run the compiler-rt tests with `ninja check-compiler-rt`.

https://github.com/llvm/llvm-project/pull/82049


More information about the llvm-commits mailing list