[Orc][examples] Fix copy/paste issues in comments and inclue guards (NFC)
authorStefan Gränitz <stefan.graenitz@gmail.com>
Wed, 17 Mar 2021 13:22:41 +0000 (14:22 +0100)
committerStefan Gränitz <stefan.graenitz@gmail.com>
Fri, 26 Mar 2021 17:49:07 +0000 (18:49 +0100)
llvm/examples/OrcV2Examples/ExampleModules.h
llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp

index 72b0cc7..7f0332f 100644 (file)
@@ -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
index 78a0c5b..1923139 100644 (file)
@@ -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.