[Lldb-commits] [PATCH] D67760: [lldb] Decouple importing the std C++ module from the way the program is compiled

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 20 09:15:46 PDT 2019


aprantl added a comment.

I understand the motivation, just a few questions about the approach:

- Can we make it such that *if* the program was compiled with -gmodules LLDB is using the DWARF module info as authoritative source instead of using this heuristic?
- Is there a path towards supporting the following scenario?
  1. User compiles a program that contains `@import Foo;` using a custom -DBAR define, which affects how Foo is built on the command line.
  2. LLDB reads the fact the Foo was imported with -DBAR from DWARF and makes it available in the expression evaluator.


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D67760





More information about the lldb-commits mailing list