summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR13013: ELF Type identification fails for MSB type ELF files.Meador Inge2012-06-251-2/+5
| | | | | | | | | Fix 'sys::IdentifyFileType' to work with big and little endian byte orderings when reading the ELF object file type. Initial patch by Stefan Hepp. llvm-svn: 159138
* Support/FileSystem: Add file_magic and move a vew clients over to it.Michael J. Spencer2011-12-131-12/+12
| | | | llvm-svn: 146523
* Cleanup whitespace.Michael J. Spencer2011-12-131-1/+1
| | | | llvm-svn: 146521
* Remove a couple unused methods. PR11201.Eli Friedman2011-11-011-10/+0
| | | | llvm-svn: 143452
* ObjectFile: Add support for mach-o-style dSYM companion files.Benjamin Kramer2011-09-141-1/+1
| | | | llvm-svn: 139676
* Add support for 64-bit object files to Path.Eric Christopher2011-04-221-4/+10
| | | | llvm-svn: 129975
* Assorted bugfixes in object file handling:Eric Christopher2011-04-031-0/+14
| | | | | | | | | | | | | | | | | | | | | | | - Adds support for sniffing PE/COFF files on win32 (.exe and .dll) which are COFF files that have an MS-DOS compatibility stub on the front of them. - Fixes a bug in the COFFObjectFile's support for the Microsoft COFF extension for long symbol names, wherein it was attempting to parse the leading '/' in an extended symbol name reference as part of the integer offset. - Fixes bugs in COFFObjectFile and ELFObjectFile wherein section and symbol iterators were being returned with uninitialized bytes; the type DataRefImpl is a union between 2 32-bit words (d.a and d.b) and a single intptr_t word (p). Only p was being initialized, so in 32-bit builds the result would be iterators with random upper 32-bit words in their DataRefImpls. This caused random failures when seeking around in object files. Patch by Graydon Hoare! llvm-svn: 128799
* Support/PathV2: Add identify_magic.Michael J. Spencer2011-01-151-34/+23
| | | | llvm-svn: 123548
* Support/Path: Deprecate PathV1::exists and replace all uses with ↵Michael J. Spencer2011-01-101-0/+1
| | | | | | PathV2::fs::exists. llvm-svn: 123151
* Support/Path: Deprecate Path::hasMagicNumber and replace all uses with ↵Michael J. Spencer2010-12-281-1/+5
| | | | | | fs::has_magic. llvm-svn: 122589
* Delete Path::appendSuffix's return value; it wasn't used anywhere, whichDan Gohman2010-12-011-8/+1
| | | | | | is fine since isn't really necessary to check isValid there anyway. llvm-svn: 120538
* Merge System into Support.Michael J. Spencer2010-11-291-0/+296
llvm-svn: 120298
OpenPOWER on IntegriCloud