2 "Represents a file specification that divides the path into a directory and
3 basename. The string values of the paths are put into uniqued string pools
4 for fast comparisons and efficient memory usage.
6 For example, the following code ::
8 lineEntry = context.GetLineEntry()
9 self.expect(lineEntry.GetFileSpec().GetDirectory(), 'The line entry should have the correct directory',
11 substrs = [self.mydir])
12 self.expect(lineEntry.GetFileSpec().GetFilename(), 'The line entry should have the correct filename',
15 self.assertTrue(lineEntry.GetLine() == self.line,
16 'The line entry's line number should match ')
18 gets the line entry from the symbol context when a thread is stopped.
19 It gets the file spec corresponding to the line entry and checks that
20 the filename and the directory matches what we expect.") lldb
::SBFileSpec
;