[compiler-rt] asan (PR #139587)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 12 10:21:51 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r HEAD~1...HEAD compiler-rt/lib/asan/scripts/asan_symbolize.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- asan_symbolize.py 2025-05-12 17:18:38.000000 +0000
+++ asan_symbolize.py 2025-05-12 17:21:26.798520 +0000
@@ -449,17 +449,17 @@
# Used by clients who may want to supply a different binary name.
# E.g. in Chrome several binaries may share a single .dSYM.
self.dsym_hint_producer = dsym_hint_producer
self.system = os.uname()[0]
if self.system not in [
- "Linux",
- "Darwin",
- "FreeBSD",
- "NetBSD",
- "SunOS",
- "AIX",
- ]:
+ "Linux",
+ "Darwin",
+ "FreeBSD",
+ "NetBSD",
+ "SunOS",
+ "AIX",
+ ]:
raise Exception("Unknown system")
self.llvm_symbolizers = {}
self.last_llvm_symbolizer = None
self.dsym_hints = set([])
self.frame_no = 0
``````````
</details>
https://github.com/llvm/llvm-project/pull/139587
More information about the llvm-commits
mailing list