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