[compiler-rt] [scudo] Add specific die functions for linux specific failures. (PR #68650)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 10 20:26:00 PDT 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 efb11c4022e8b1ef656f9bdedede0fd40bdddb85 44cbb066b757e8511bdba8a6549afd08c40dd710 -- compiler-rt/lib/scudo/standalone/report_linux.cpp compiler-rt/lib/scudo/standalone/report_linux.h compiler-rt/lib/scudo/standalone/common.cpp compiler-rt/lib/scudo/standalone/common.h compiler-rt/lib/scudo/standalone/linux.cpp compiler-rt/lib/scudo/standalone/mem_map_linux.cpp compiler-rt/lib/scudo/standalone/report.cpp compiler-rt/lib/scudo/standalone/report.h compiler-rt/lib/scudo/standalone/trusty.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/scudo/standalone/report.cpp b/compiler-rt/lib/scudo/standalone/report.cpp
index 34db3e7be3b0..9cef0adc0bb3 100644
--- a/compiler-rt/lib/scudo/standalone/report.cpp
+++ b/compiler-rt/lib/scudo/standalone/report.cpp
@@ -24,9 +24,7 @@ public:
Message.vappend(Format, Args);
va_end(Args);
}
- NORETURN ~ScopedErrorReport() {
- reportRawError(Message.data());
- }
+ NORETURN ~ScopedErrorReport() { reportRawError(Message.data()); }
private:
ScopedString Message;
``````````
</details>
https://github.com/llvm/llvm-project/pull/68650
More information about the llvm-commits
mailing list