[llvm] [lit] Fix the missing commas in LIT config (PR #162998)

Kunqiu Chen via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 11 06:08:49 PDT 2025


https://github.com/Camsyn created https://github.com/llvm/llvm-project/pull/162998

This pull request makes a minor fix to the `llvm/utils/lit/lit/llvm/config.py` file. 

The change corrects a missing comma in the list of environment variables, ensuring that `"UBSAN_SYMBOLIZER_PATH"` and `"ASAN_OPTIONS"` are treated as separate entries instead of a single concatenated string.

* Fixed a missing comma between `"UBSAN_SYMBOLIZER_PATH"` and `"ASAN_OPTIONS"` in the environment variable list in `llvm/utils/lit/lit/llvm/config.py`, preventing potential configuration issues.

>From a12d4e105d3c99e2a18010cce94c860f3bca1f4f Mon Sep 17 00:00:00 2001
From: Camsyn <camsyn at foxmail.com>
Date: Sat, 11 Oct 2025 20:52:30 +0800
Subject: [PATCH] [LIT] Fill in the missing commas

---
 llvm/utils/lit/lit/llvm/config.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py
index c134cda90e2ee..cc94389e85f74 100644
--- a/llvm/utils/lit/lit/llvm/config.py
+++ b/llvm/utils/lit/lit/llvm/config.py
@@ -80,7 +80,8 @@ def __init__(self, lit_config, config):
                 "HWASAN_SYMBOLIZER_PATH",
                 "MSAN_SYMBOLIZER_PATH",
                 "TSAN_SYMBOLIZER_PATH",
-                "UBSAN_SYMBOLIZER_PATH" "ASAN_OPTIONS",
+                "UBSAN_SYMBOLIZER_PATH",
+                "ASAN_OPTIONS",
                 "HWASAN_OPTIONS",
                 "MSAN_OPTIONS",
                 "RTSAN_OPTIONS",



More information about the llvm-commits mailing list