Hi, I have been trying to use the -mllvm -debug option for clang but without much success. Do I need to build in any specific manner for this to work ? On using -mllvm -debug as follows I get the error below. $>clang -ccc-host-triple armv7-none-linux-gnueabi -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a9 -mllvm -debug fdct.i -S clang (LLVM option parsing): Unknown command line argument '-debug'. Try: 'clang (LLVM option parsing) -help' clang (LLVM option parsing): Did you mean '-lanum'? Other options with -mllvm (e.g. print-after-all) work fine. Thanks in advance. Pranav
On 20 July 2011 20:24, Bhandarkar, Pranav <pranavb at quicinc.com> wrote:> I have been trying to use the -mllvm -debug option for clang but without much success. Do I need to build in any specific manner for this to work ?You need to build LLVM with assertions enabled.
> You need to build LLVM with assertions enabled.Ok. Thanks for the information. Pranav _______________________________________________ cfe-dev mailing list cfe-dev at cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Possibly Parallel Threads
- [LLVMdev] What is HexagonTargetMachine::addPassesForOptimizations for?
- [LLVMdev] inttoptr and basicaa
- [LLVMdev] MachineOperand: Subreg defines and the Undef flag
- [LLVMdev] What is HexagonTargetMachine::addPassesForOptimizations for?
- [LLVMdev] Question regarding ReplaceValueWith and ReplaceNodeResults