[llvm] [BOLT] Move instrumentation option check (NFC) (PR #71581)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 12:02:24 PST 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 0bb510c59d0133dc4dc0509123fff08a689d8f23 23302db0b85e95f61fcaea8af8458403d6a70066 -- bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp b/bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp
index ec0e2e21c66d..c6c284a3f784 100644
--- a/bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp
+++ b/bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp
@@ -60,8 +60,8 @@ void InstrumentationRuntimeLibrary::adjustCommandLineOptions(
 
   if (BC.IsStaticExecutable && !opts::InstrumentationSleepTime) {
     errs() << "BOLT-ERROR: instrumentation of static binary currently does not "
-      "support profile output on binary finalization, so it "
-      "requires -instrumentation-sleep-time=N (N>0) usage\n";
+              "support profile output on binary finalization, so it "
+              "requires -instrumentation-sleep-time=N (N>0) usage\n";
     exit(1);
   }
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/71581


More information about the llvm-commits mailing list