forked from OSchip/llvm-project
[examples][ORC] Fix program names in calls to parse cl opt in examples.
These examples were all copied and adapted from the original HowToUseLLJIT example code, however the calls to cl::ParseCommandLineOptions were not updated.
This commit is contained in:
parent
46aa5c13c5
commit
fbb8642c1c
|
@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
|
|||
InitializeNativeTarget();
|
||||
InitializeNativeTargetAsmPrinter();
|
||||
|
||||
cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
|
||||
cl::ParseCommandLineOptions(argc, argv, "LLJITDumpObjects");
|
||||
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
|
||||
|
||||
outs()
|
||||
|
|
|
@ -33,7 +33,7 @@ int main(int argc, char *argv[]) {
|
|||
InitializeNativeTarget();
|
||||
InitializeNativeTargetAsmPrinter();
|
||||
|
||||
cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
|
||||
cl::ParseCommandLineOptions(argc, argv, "LLJITWithCustomObjectLinkingLayer");
|
||||
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
|
||||
|
||||
// Detect the host and set code model to small.
|
||||
|
|
|
@ -83,7 +83,7 @@ int main(int argc, char *argv[]) {
|
|||
InitializeNativeTarget();
|
||||
InitializeNativeTargetAsmPrinter();
|
||||
|
||||
cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
|
||||
cl::ParseCommandLineOptions(argc, argv, "LLJITWithObjectCache");
|
||||
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
|
||||
|
||||
MyObjectCache MyCache;
|
||||
|
|
Loading…
Reference in New Issue