[Lldb-commits] [lldb] [lldb][RPC] Upstream Python scripts (PR #138028)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed May 14 10:53:49 PDT 2025


================
@@ -0,0 +1,20 @@
+// Copy lldb-defines.h from source.
+# RUN: mkdir -p %t/input
+# RUN: mkdir -p %t/output
+# RUN: cp %p/../../../../../include/lldb/lldb-defines.h %t/input
----------------
JDevlieghere wrote:

You're mixing two comment styles here, and lit doesn't actually treat these any differently (it just look for RUN lines). So let's settle on one and drop them everywhere else. 

```suggestion
// Copy lldb-defines.h from source.
RUN: mkdir -p %t/input
RUN: mkdir -p %t/output
RUN: cp %p/../../../../../include/lldb/lldb-defines.h %t/input
```

or 

```suggestion
# Copy lldb-defines.h from source.
RUN: mkdir -p %t/input
RUN: mkdir -p %t/output
RUN: cp %p/../../../../../include/lldb/lldb-defines.h %t/input
```

I think the latter is slightly more common.

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


More information about the lldb-commits mailing list