search for: main_irgen

Displaying 1 result from an estimated 1 matches for "main_irgen".

2010 May 18
1
[LLVMdev] when compiling the IR api codes, "g++ internal error" occurred.
Hello~! I’m beginner about LLVM. My purpose is inserting a function call to basic block, which is composed of IR codes. For this, I did following works. 1) Generate bytecodes from c++ codes 2) Generate the C++ codes, composed of LLVM APIs. $ llc -march=cpp main.bc -o=main_irgen.cpp 3) Insert function call APIs to the generated C++ codes from step 2) 4) Compile the functional call inserted codes. $ g++ -O2 main_irgen.cpp `llvm-config --cxxflags --ldflags --libs core` -o main_irgen.cpp -> In this step, an error occurred. The messages are as follows g++: Intern...