[Lldb-commits] [PATCH] D85968: [lldb] Forcefully complete a type when adding nested classes

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 19 05:42:58 PDT 2020


labath added inline comments.


================
Comment at: lldb/test/Shell/SymbolFile/DWARF/DW_AT_declaration-with-children.s:7
 
-# RUN: llvm-mc --triple x86_64-pc-linux %s --filetype=obj > %t
-# RUN: %lldb %t -o "expr a" -o exit 2>&1 | FileCheck %s --check-prefix=EXPR
-# RUN: %lldb %t -o "target var a" -o exit 2>&1 | FileCheck %s --check-prefix=VAR
-
-# EXPR: incomplete type 'A' where a complete type is required
+# RUN: rm -rf %t
+# RUN: split-file %s %t
----------------
MaskRay wrote:
> In many cases `rm -rf %t` is not needed. `split-file` will unlink the output if it was originally a file.
Aha. That seems useful, albeit unexpected.


================
Comment at: lldb/test/Shell/SymbolFile/DWARF/DW_AT_declaration-with-children.s:9
+# RUN: split-file %s %t
+# RUN: llvm-mc --triple x86_64-pc-linux %t/asm --filetype=obj > %t.o
+# RUN: %lldb -o "settings set interpreter.stop-command-source-on-error false" \
----------------
MaskRay wrote:
> No need to change now: `-o` is recommended (I think the arguments are (1) for aesthetic value (2) when llvm-mc fails, don't leave an empty file)
cool


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85968/new/

https://reviews.llvm.org/D85968



More information about the lldb-commits mailing list