bb14d137c082e98e8c436a5ef9238e06e3f21e22 |
|
28-Jun-2013 |
Greg Clayton <gclayton@apple.com> |
FileSpec destructor doesn't need to be virtual. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
30518e01f8e264a310050cfc0e2857637fa32063 |
|
29-Apr-2013 |
Greg Clayton <gclayton@apple.com> |
Don't return a reference to a local variable, and removed a redundant API. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180713 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
bf1fa97ab9a28890478daf70cdf6b8177ae3bbae |
|
29-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Add a few new methods to FileSpec to make it a little easier to work with directories, without increasing the size of the FileSpec object. GetPath() returns a std::string of the full pathname of the file. IsDirectory(), IsPipe(), IsRegularFile(), IsSocket(), and IsSymbolicLink() can be used instead of getting the FileType() and comparing it to an enum. Update PlatformDarwinKernel to use these new methods. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180704 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
ed0a0fbd021e44727469d6fa20cc337c58bd04c3 |
|
18-Oct-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/12462048> <rdar://problem/12068650> More fixes to how we handle paths that are used to create a target. This modification centralizes the location where and how what the user specifies gets resolved. Prior to this fix, the TargetList::CreateTarget variants took a FileSpec object which meant everyone had the opportunity to resolve the path their own way. Now both CreateTarget variants take a "const char *use_exe_path" which allows the TargetList::CreateTarget to centralize where the resolving happens and "do the right thing". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
fc04d2463ad654c28f9ee2ee836174cc86b7f8b8 |
|
30-Aug-2012 |
Greg Clayton <gclayton@apple.com> |
OptionValueFileSpec had an accessor to read the contents of the file and return the data. This can end up being used to get the string contents of a text file and could end up not being NULL terminated. I added accessors to get the file contents raw, or with a null terminator. Added the needed calls to make this happen in the FileSpec and File classes. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
49ce8969d3154e1560106cfe530444c09410f217 |
|
29-Aug-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/11757916> Make breakpoint setting by file and line much more efficient by only looking for inlined breakpoint locations if we are setting a breakpoint in anything but a source implementation file. Implementing this complex for a many reasons. Turns out that parsing compile units lazily had some issues with respect to how we need to do things with DWARF in .o files. So the fixes in the checkin for this makes these changes: - Add a new setting called "target.inline-breakpoint-strategy" which can be set to "never", "always", or "headers". "never" will never try and set any inlined breakpoints (fastest). "always" always looks for inlined breakpoint locations (slowest, but most accurate). "headers", which is the default setting, will only look for inlined breakpoint locations if the breakpoint is set in what are consudered to be header files, which is realy defined as "not in an implementation source file". - modify the breakpoint setting by file and line to check the current "target.inline-breakpoint-strategy" setting and act accordingly - Modify compile units to be able to get their language and other info lazily. This allows us to create compile units from the debug map and not have to fill all of the details in, and then lazily discover this information as we go on debuggging. This is needed to avoid parsing all .o files when setting breakpoints in implementation only files (no inlines). Otherwise we would need to parse the .o file, the object file (mach-o in our case) and the symbol file (DWARF in the object file) just to see what the compile unit was. - modify the "SymbolFileDWARFDebugMap" to subclass lldb_private::Module so that the virtual "GetObjectFile()" and "GetSymbolVendor()" functions can be intercepted when the .o file contenst are later lazilly needed. Prior to this fix, when we first instantiated the "SymbolFileDWARFDebugMap" class, we would also make modules, object files and symbol files for every .o file in the debug map because we needed to fix up the sections in the .o files with information that is in the executable debug map. Now we lazily do this in the DebugMapModule::GetObjectFile() Cleaned up header includes a bit as well. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162860 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
4b23ab33d221eaadf40f65a5b5fe3ca4475ff761 |
|
06-Jan-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/10652336> Fixed a crasher when trying to load an expression prefix file: % touch /tmp/carp.txt % xcrun lldb (lldb) settings set target.expr-prefix /tmp/carp.txt Segmentation fault git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
59df36f99b76e33852e6848a162f5c2851074ea2 |
|
17-Oct-2011 |
Enrico Granata <granata.enrico@gmail.com> |
this patch introduces a new command script import command which takes as input a filename for a Python script and imports the module contained in that file. the containing directory is added to the Python path such that dependencies are honored. also, the module may contain an __lldb_init_module(debugger,dict) function, which gets called after importing, and which can somehow initialize the module's interaction with lldb git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
31cf0e7c5ff8233eccef28ca22d025d7b490cb7a |
|
12-Sep-2011 |
Greg Clayton <gclayton@apple.com> |
Changed to using an "operator bool" instead of an "operator void*" and avoid returning a pointer to the current object. In the new "operator bool" implementation, check the filename object first since many times we have FileSpec objects with a filename, yet no directory. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139488 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
a5268237caa48d08579c7690577468e36e6ccbd1 |
|
11-Mar-2011 |
Jim Ingham <jingham@apple.com> |
Fix a typo in a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
158842ca982c53aca6c5ad7345d7b261e309292d |
|
09-Feb-2011 |
Jim Ingham <jingham@apple.com> |
Add FileSpec::ResolvePartialUsername, and use it in CommandCompletions to isolate pwd.h in the Host layer. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
82cfaed47126a17b4fa21e42e05546e7a041b9e3 |
|
08-Feb-2011 |
Greg Clayton <gclayton@apple.com> |
A bit more cleanup with respect to using LLDB_CONFIG_XXX defines outside of the lldb/source/Host/*.cpp and lldb/source/Host/*/*.cpp directories. The only offenders are the command completion and the StreamFile.cpp. I will soon modify StreamFile.cpp to use a lldb/source/Host/File.cpp so that all file open, close, read, write, seek, are abstracted into the host layer as well, then this will be gone. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|
5f54ac373b119a4c6693e4875c48aa761fba0c86 |
|
08-Feb-2011 |
Greg Clayton <gclayton@apple.com> |
Moved FileSpec into the Host layer since it will vary from host to host. We have a common unix implementation in lldb/source/Host/common/FileSpec.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125078 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Host/FileSpec.h
|