|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 146523 | 
| | 
| 
| 
| | llvm-svn: 146521 | 
| | 
| 
| 
| | llvm-svn: 143452 | 
| | 
| 
| 
| | llvm-svn: 139676 | 
| | 
| 
| 
| | llvm-svn: 129975 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - 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 | 
| | 
| 
| 
| | llvm-svn: 123548 | 
| | 
| 
| 
| 
| 
| | PathV2::fs::exists.
llvm-svn: 123151 | 
| | 
| 
| 
| 
| 
| | fs::has_magic.
llvm-svn: 122589 | 
| | 
| 
| 
| 
| 
| | is fine since isn't really necessary to check isValid there anyway.
llvm-svn: 120538 | 
|  | llvm-svn: 120298 |