Index: test/lldbtest.py =================================================================== --- test/lldbtest.py +++ test/lldbtest.py @@ -1526,6 +1526,11 @@ path = os.path.join(lldb_root_path, p) if os.path.exists(path): return path + + # Tries to find clang at the same folder as the lldb + path = os.path.join(os.path.dirname(self.lldbExec), "clang") + if os.path.exists(path): + return path return os.environ["CC"]