It would be nice to have smack as a clang drop-in replacement, so we'd just need to call smack with all the clang arguments plus the args to smack as arguments to the custom llvm pass.
Moreover, this way you could just set the env var CC or CXX and all would compile as usual, plus the memory checks and such.
It would be nice to have smack as a clang drop-in replacement, so we'd just need to call smack with all the clang arguments plus the args to smack as arguments to the custom llvm pass.
Moreover, this way you could just set the env var CC or CXX and all would compile as usual, plus the memory checks and such.