search for: tracemod

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

Did you mean: tracemode
2003 May 23
0
[LLVMdev] lli should not put .bc in argv[0]
.../CVSRepository/llvm/tools/lli/lli.cpp,v retrieving revision 1.17 diff -u -a -d -p -r1.17 lli.cpp --- lli.cpp 12 May 2003 14:31:57 -0000 1.17 +++ lli.cpp 23 May 2003 04:45:39 -0000 @@ -88,6 +88,13 @@ int main(int argc, char** argv) { EE = ExecutionEngine::createInterpreter(M, Config, DebugMode, TraceMode); // Add the module name to the start of the argv vector... + // But delete .bc first, since programs (and users) might not expect to + // see it. + const std::string ByteCodeFileSuffix (".bc"); + if (InputFile.rfind (ByteCodeFileSuffix) == + InputFile.length () - ByteCodeF...