search for: llcmain

Displaying 2 results from an estimated 2 matches for "llcmain".

2019 Nov 18
2
Unable to parse command line more than once using llvm libraries?
...r all llc is mostly a fairly thin front end over the llc libraries, which do the actual work right? > > So I took llc.cpp, and the llvm-c and llvm headers and llvm libraries and linked them all into my server program (which is a C based server). I modified llc.cpp to change... > > int llcmain(int argc, char **argv) { > ... > } > > ...to... > > extern "C" int llcmain(int argc, char **argv) { > ... > } > > > Now I am calling this function directly from my server code. This works fine for the first build, however any other builds fail in >...
2019 Nov 17
2
Unable to parse command line more than once using llvm libraries?
...ssary overhead. After all llc is mostly a fairly thin front end over the llc libraries, which do the actual work right? So I took llc.cpp, and the llvm-c and llvm headers and llvm libraries and linked them all into my server program (which is a C based server). I modified llc.cpp to change... int llcmain(int argc, char **argv) { ... } ...to... extern "C" int llcmain(int argc, char **argv) { ... } Now I am calling this function directly from my server code. This works fine for the first build, however any other builds fail in CommandLine.cpp:1101 CommandLineParser::ParseCommandLineO...