[compiler-rt] [compiler-rt][asan] _aligned_malloc/_aligned_free interception. (PR #82049)
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 08:12:56 PST 2025
zmodem wrote:
Thanks! It looks like clang-cl is configured to target i386 by default. Maybe that's why it's having problems.
> So I just did a full clean rebuild (only I rebase from recent main branch)
>
> ```shell
> cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt" ...
>
> ninja check-compiler-rt
> ```
In what kind of environment did you run cmake? A Visual Studio Command Prompt window? After running VsDevCmd.bat or similar?
Can you try configuring the build in an x86_64 environment, either in an "x64 Native Tools Command Prompt", or after running `VsDevCmd.bat -arch=amd64`?
https://github.com/llvm/llvm-project/pull/82049
More information about the llvm-commits
mailing list