mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[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
9e6a9d392e
commit
0c34e4d301
@ -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
Block a user