[Lldb-commits] [PATCH] D55859: noexternal 2/2: symbols.enable-external-lookup=false on all hosts (not just OSX)

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 19 10:05:56 PST 2018

jankratochvil marked 4 inline comments as done.
jankratochvil added a comment.

In D55859#1336351 <https://reviews.llvm.org/D55859#1336351>, @friss wrote:

> Pretty sure this won't work. It might generate a dSYM, but an empty one.

I agree LLDB did not parse such DSYM symbols on Linux.

Is the patch OK for check-in now? Thanks.

Comment at: source/Host/common/Symbols.cpp:365
+  if (!external_lookup) {
+    Log *log = lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_HOST);
friss wrote:
> jankratochvil wrote:
> > labath wrote:
> > > This doesn't sound right to me. It looks like this will prevent `LocateDSYMInVincinityOfExecutable`, which (I would expect) is necessary to find dsym bundles for all of our dsym tests.
> > I have regression tested it only on Fedora 29 x86_64. I see now it may regress OSX but I have no idea what really dsym is. I do not have OSX available, is it accessible somewhere remotely for LLVM development (such as is [[ https://cfarm.tetaneutral.net/ | GCC Compile Farm ]])?
> I would just remove that early exit. The rest of the code shouldn't impact the systems you care about.
OK, yes, I have removed it.




More information about the lldb-commits mailing list