search for: basiccod

Displaying 3 results from an estimated 3 matches for "basiccod".

Did you mean: basiccode
2009 Sep 04
2
[LLVMdev] Error in Hello World Pass
Hi, I am trying to compile the Hello World pass (described at http://llvm.org/docs/WritingAnLLVMPass.html#basiccode) in an LLVM Project and I get an error, 'no match for ‘operator<<’ at line llvm::cerr << "*Hello: *" << F.getName() << "\n"; But when I looked up in the LLVM API Documentation, I think "<<" operator is not overloaded for the StringR...
2010 Aug 12
1
[LLVMdev] Compile error for the Hello pass example
Hello all, I'm trying the Hello pass example in the "Writing an LLVM Pass" webpage ( http://llvm.org/docs/WritingAnLLVMPass.html#basiccode ). I followed the instructions to compile (with gcc-4.2) the Hello.cpp, but I got the compile errors: Hello.cpp:20: error: expected identifier before string constant Hello.cpp:20: error: expected ',' or '...' before string constant Hello.cpp:20: error: expected constructor, de...
2013 Apr 21
1
[LLVMdev] pass registration
hello sir i have created LoopPass but now i am facing problem in Registering that pass. I read all the documents & followed the procedure but its giving error. Can you tell me what is the right way to register a pass. I am getting errors like char::ID=0 "ID" is not in the scope {anonymous::PrintLoopPass something like} please help me.. YES SIR IT IS A COMPILE TIME ERROR...