[compiler-rt] [Profile] Disable continuous mode when reset to default.profraw due to malformed LLVM_PROFILE_FILE. (PR #74879)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 8 10:40:36 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 9d66d263ad4371160320f4f91720a345eb241471 1212429ba57c60388f59311a2e52700d2d2dfdd7 -- compiler-rt/test/profile/ContinuousSyncMode/reset-default-profile.c compiler-rt/lib/profile/InstrProfiling.h compiler-rt/lib/profile/InstrProfilingBuffer.c compiler-rt/lib/profile/InstrProfilingFile.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/test/profile/ContinuousSyncMode/reset-default-profile.c b/compiler-rt/test/profile/ContinuousSyncMode/reset-default-profile.c
index f09ab40f4b..43365de097 100644
--- a/compiler-rt/test/profile/ContinuousSyncMode/reset-default-profile.c
+++ b/compiler-rt/test/profile/ContinuousSyncMode/reset-default-profile.c
@@ -15,7 +15,7 @@
int f() { return 0; }
int main(int argc, char **argv) {
- FILE* File = fopen("default.profraw", "w");
+ FILE *File = fopen("default.profraw", "w");
f();
return 0;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/74879
More information about the llvm-commits
mailing list