forked from OSchip/llvm-project
[Orc][examples] Fix copy/paste issues in comments and inclue guards (NFC)
This commit is contained in:
parent
caf92a8a92
commit
7197553133
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_EXAMPLES_HOWTOUSELLJIT_EXAMPLEMODULES_H
|
||||
#define LLVM_EXAMPLES_HOWTOUSELLJIT_EXAMPLEMODULES_H
|
||||
#ifndef LLVM_EXAMPLES_ORCV2EXAMPLES_EXAMPLEMODULES_H
|
||||
#define LLVM_EXAMPLES_ORCV2EXAMPLES_EXAMPLEMODULES_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ExecutionEngine/Orc/ThreadSafeModule.h"
|
||||
|
@ -52,4 +52,4 @@ parseExampleModule(llvm::StringRef Source, llvm::StringRef Name) {
|
|||
return ThreadSafeModule(std::move(M), std::move(Ctx));
|
||||
}
|
||||
|
||||
#endif // LLVM_EXAMPLES_HOWTOUSELLJIT_EXAMPLEMODULES_H
|
||||
#endif // LLVM_EXAMPLES_ORCV2EXAMPLES_EXAMPLEMODULES_H
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--------------- LLJITWithCustomObjectLinkingLayer.cpp ----------------===//
|
||||
//===--------------- LLJITWithGDBRegistrationListener.cpp -----------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -48,7 +48,7 @@ int main(int argc, char *argv[]) {
|
|||
InitializeNativeTarget();
|
||||
InitializeNativeTargetAsmPrinter();
|
||||
|
||||
cl::ParseCommandLineOptions(argc, argv, "LLJITWithCustomObjectLinkingLayer");
|
||||
cl::ParseCommandLineOptions(argc, argv, "LLJITWithGDBRegistrationListener");
|
||||
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
|
||||
|
||||
// Detect the host and set code model to small.
|
||||
|
|
Loading…
Reference in New Issue