the plugin was not effect
i build this with llvm16.0.0 on macos。cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" ../../llvm-project/llvm but after i was build successful,i cannot use clang with -mllvm -fla .i donot konw how to solve it. can anyone help? thanks very much
are you sure you didn't forget -DLLVM_OBFUSCATION_LINK_INTO_TOOLS=ON when configuring with cmake? had the same issue, and passing that arg fixed it
omg of course you did
but i am using mac os,should i add -DLLVM_OBFUSCATION_LINK_INTO_TOOLS=ON when i was build? @Memexurer
of course!
i was build clang by cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_OBFUSCATION_LINK_INTO_TOOLS=ON ../../llvm-project/llvm.
when i was use $clangPath/clang -isysroot xcrun --show-sdk-path-arch arm64 -mllvm -fla -emit-llvm -S ../test.c -o test_fla.ll ,the output was same as $clangPath/clang -isysroot xcrun --show-sdk-path-arch arm64 -emit-llvm -S ../test.c -o test.ll .
the plugin was also not work. can you help me to solve it?thanks @Memexurer