================ @@ -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:
Something like ``` all: foo.o bar.o ... %.o: %.s <TAB> $(CC) $(CFLAGS) %< -o $@ ``` include Makefile.rules https://github.com/llvm/llvm-project/pull/152887 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits