I compiled and installed LLVM from trunk on debian wheezy some weeks ago (configure & make) and now tried to out of source compile the llvm-mutate pass. AFAICC, llvm-mutate follows the cmake out of source pass build instructions.
When trying to build llvm-mutate
mkdir build
cd build
cmake -DCMAKE_MODULE_PATH=/usr/local/share/llvm/cmake ../
I get:
-- Mutate ignored -- Loadable modules not supported on this platform.
hmm? opt and the loadable passes (at llvm_trunk/build/Debug+Asserts/lib/xxx.so) are present and work (have been compiled using configure & make, not cmake).
So this problem seems to be related to cmake? Someone else faced such problems, howver on Win using cygwin: here
Any idea? Thx Alex