[Lldb-commits] [lldb] r324019 - Create a marker for Spotlight to never index $BUILD_DIR.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 1 17:59:09 PST 2018


Might try adding this patch to the test case:

Index: packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py
===================================================================
--- packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py	(revision 324047)
+++ packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py	(working copy)
@@ -82,6 +82,10 @@
 
         desc = ' file %s set by %s' % (
             file, 'regex' if source_regex else 'location')
+        exe_module = self.target.FindModule(self.target.GetExecutable())
+        sym_file = exe_module.GetSymbolFileSpec()
+        desc += " SymFile: %s/%s"%(sym_file.GetDirectory(), sym_file.GetFilename())
+
         if source_regex:
             breakpoint = self.target.BreakpointCreateBySourceRegex(
                 self.BREAKPOINT_TEXT, lldb.SBFileSpec(file))


That way the error message will print out where we're getting symbols.  If we're getting them from some weird unexpected place, this will show that.

Jim


> On Feb 1, 2018, at 5:40 PM, Davide Italiano via lldb-commits <lldb-commits at lists.llvm.org> wrote:
> 
> I'm afraid this still wasn't enough to placate the bots.
> http://lab.llvm.org:8080/green/view/LLDB/job/lldb-xcode/4647/
> 
> Can you please take another look?
> 
> --
> Davide
> 
> On Thu, Feb 1, 2018 at 2:27 PM, Davide Italiano <dccitaliano at gmail.com> wrote:
>> On Thu, Feb 1, 2018 at 2:18 PM, Adrian Prantl via lldb-commits
>> <lldb-commits at lists.llvm.org> wrote:
>>> Author: adrian
>>> Date: Thu Feb  1 14:18:02 2018
>>> New Revision: 324019
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=324019&view=rev
>>> Log:
>>> Create a marker for Spotlight to never index $BUILD_DIR.
>>> 
>>> LLDB queries Spotlight to locate .dSYM bundles based on the UUID
>>> embedded in a binary, and because the UUID is a hash of filename and
>>> .text section, there *will* be conflicts inside $BUILD_DIR.
>>> 
>>> This should fix the broken green dragon bots.
>>> 
>> 
>> Thanks!
>> 
>> --
>> Davide
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits



More information about the lldb-commits mailing list