[llvm] 7197553 - [Orc][examples] Fix copy/paste issues in comments and inclue guards (NFC)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 26 10:49:49 PDT 2021
Author: Stefan Gränitz
Date: 2021-03-26T18:49:07+01:00
New Revision: 719755313365617bb62ebe097f53dfcf1ca82218
URL: https://github.com/llvm/llvm-project/commit/719755313365617bb62ebe097f53dfcf1ca82218
DIFF: https://github.com/llvm/llvm-project/commit/719755313365617bb62ebe097f53dfcf1ca82218.diff
LOG: [Orc][examples] Fix copy/paste issues in comments and inclue guards (NFC)
Added:
Modified:
llvm/examples/OrcV2Examples/ExampleModules.h
llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp
Removed:
################################################################################
diff --git a/llvm/examples/OrcV2Examples/ExampleModules.h b/llvm/examples/OrcV2Examples/ExampleModules.h
index 72b0cc767f119..7f0332f7688ca 100644
--- a/llvm/examples/OrcV2Examples/ExampleModules.h
+++ b/llvm/examples/OrcV2Examples/ExampleModules.h
@@ -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
diff --git a/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp b/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp
index 78a0c5b197db2..1923139925b7c 100644
--- a/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp
+++ b/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp
@@ -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.
More information about the llvm-commits
mailing list