[Lldb-commits] [lldb] [llvm] Stateful variable-location annotations in Disassembler::PrintInstructions() (follow-up to #147460) (PR #152887)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 22 10:40:24 PDT 2025


================
@@ -18,16 +18,34 @@ def _compile_object(self, src_name, func_cflags="-g -gdwarf-5 -O2 -fno-inline"):
         self.assertTrue(os.path.exists(obj), f"missing object: {obj}")
         return obj
 
+    def _compile_or_assemble_object(
+        self,
+        src_name,
+        cflags="-g -gdwarf-5 -O2 -fno-inline -fno-omit-frame-pointer",
+    ):
+        cc = self.getCompiler()  # use the configured clang from dotest
----------------
adrian-prantl wrote:

Why are you doing this in the Python code and not just in the Makefile?

https://github.com/llvm/llvm-project/pull/152887


More information about the lldb-commits mailing list