[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 20 04:15:55 PST 2024


Michael137 wrote:

> Maybe, but I don't expect the test to be pretty. What I (sometimes) do in these cases is to make the test bidirectional, i.e., have two compile unit where each one has a definition for a type declared/used in the other one. This way, you're guaranteed to hit the error code path regardless of the order of the two units. This is easier to do if you don't actually need to run the binary (which you probably don't need to do here).

Great idea, let me try this out

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


More information about the lldb-commits mailing list