[Lldb-commits] [PATCH] D61565: Ignore generated @import statements in the expression evaluator to fix import-std-module tests on macOS

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 7 09:23:49 PDT 2019


aprantl added a comment.

To clarify:

I'd like `expr -g` to write out one temporary file (`lldb-expr.mm`) that only contains the code the user typed and in the expression. The expression should say

  @implementation $__lldb_objc_class ($__lldb_category) 
  +(void)%s:(void *)$__lldb_arg {
  #line "/tmp/lldb-expr.mm" 1
    blah();
  #line "/tmp/hidden.mm" 8
  }

and then we set a breakpoint at /tmp/lldb-expr.mm:1.


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D61565





More information about the lldb-commits mailing list