[compiler-rt] [sanitizer_common][asan] Implement address sanitizer on AIX: add platform specific support (3/n) (PR #131866)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 08:20:30 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-04-29 13:57:32.000000 +0000
+++ asan_symbolize.py	2025-04-29 15:19:46.223896 +0000
@@ -448,11 +448,18 @@
         else:
             # 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"]:
+            if self.system not in [
+                "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/131866


More information about the llvm-commits mailing list