[llvm-branch-commits] [compiler-rt] [runtimes] Allow building against an installed LLVM tree (PR #86209)
Alexander Richardson via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 24 16:03:09 PDT 2024
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/86209
>From 899f7456f3a72b0f2e862de5cf50855138545a43 Mon Sep 17 00:00:00 2001
From: Alex Richardson <alexrichardson at google.com>
Date: Mon, 26 Aug 2024 15:50:08 -0700
Subject: [PATCH 1/2] python formatting
Created using spr 1.3.6-beta.1
---
compiler-rt/test/hwasan/lit.cfg.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/compiler-rt/test/hwasan/lit.cfg.py b/compiler-rt/test/hwasan/lit.cfg.py
index 96cc2f477ad445..e1f8bc5c25ee77 100644
--- a/compiler-rt/test/hwasan/lit.cfg.py
+++ b/compiler-rt/test/hwasan/lit.cfg.py
@@ -78,8 +78,10 @@ def build_invocation(compile_flags):
)
# Ensure that we can use hwasan_symbolize from the expected location
-llvm_config.add_tool_substitutions([ToolSubst("hwasan_symbolize", unresolved="fatal")],
- search_dirs=[config.compiler_rt_bindir])
+gitllvm_config.add_tool_substitutions(
+ [ToolSubst("hwasan_symbolize", unresolved="fatal")],
+ search_dirs=[config.compiler_rt_bindir],
+)
# Default test suffixes.
config.suffixes = [".c", ".cpp"]
>From fcad8b45b288107fe87d5be440f1fbe73b9aecbf Mon Sep 17 00:00:00 2001
From: Alex Richardson <alexrichardson at google.com>
Date: Thu, 24 Oct 2024 16:02:54 -0700
Subject: [PATCH 2/2] fix python style
Created using spr 1.3.6-beta.1
---
compiler-rt/test/hwasan/lit.cfg.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/compiler-rt/test/hwasan/lit.cfg.py b/compiler-rt/test/hwasan/lit.cfg.py
index 96cc2f477ad445..bbf23e683240ac 100644
--- a/compiler-rt/test/hwasan/lit.cfg.py
+++ b/compiler-rt/test/hwasan/lit.cfg.py
@@ -78,8 +78,10 @@ def build_invocation(compile_flags):
)
# Ensure that we can use hwasan_symbolize from the expected location
-llvm_config.add_tool_substitutions([ToolSubst("hwasan_symbolize", unresolved="fatal")],
- search_dirs=[config.compiler_rt_bindir])
+llvm_config.add_tool_substitutions(
+ [ToolSubst("hwasan_symbolize", unresolved="fatal")],
+ search_dirs=[config.compiler_rt_bindir],
+)
# Default test suffixes.
config.suffixes = [".c", ".cpp"]
More information about the llvm-branch-commits
mailing list