[Lldb-commits] [PATCH] D33083: [Expression parser] Look up module symbols before hunting globally

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 11 10:43:17 PDT 2017

jingham added a comment.

If you just have symbols, you can't tell whether private symbols were visible to the current frame or not, but the likelihood is not 0 (I guess it's something like 1/number of CU's).  OTOH, your expression could never have seen a private symbol from another module, and 1/nCU > 0.  So I would weakly argue for flipping 2 & 3.


More information about the lldb-commits mailing list