- Dec 21, 2012
-
-
Roman Divacky authored
llvm-svn: 170902
-
- Dec 03, 2012
-
-
Chandler Carruth authored
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
-
- Jun 25, 2012
-
-
Meador Inge authored
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
-
- Dec 14, 2011
-
-
Michael J. Spencer authored
llvm-svn: 146523
-
Michael J. Spencer authored
llvm-svn: 146521
-
- Nov 01, 2011
-
-
Eli Friedman authored
llvm-svn: 143452
-
- Sep 14, 2011
-
-
Benjamin Kramer authored
llvm-svn: 139676
-
- Apr 22, 2011
-
-
Eric Christopher authored
llvm-svn: 129975
-
- Apr 04, 2011
-
-
Eric Christopher authored
- 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
-
- Jan 15, 2011
-
-
Michael J. Spencer authored
llvm-svn: 123548
-
- Jan 10, 2011
-
-
Michael J. Spencer authored
llvm-svn: 123151
-
- Dec 28, 2010
-
-
Michael J. Spencer authored
llvm-svn: 122589
-
- Dec 01, 2010
-
-
Dan Gohman authored
is fine since isn't really necessary to check isValid there anyway. llvm-svn: 120538
-
- Nov 29, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120298
-
- Nov 17, 2010
-
-
Peter Collingbourne authored
llvm-svn: 119433
-
- Nov 02, 2010
-
-
Mikhail Glushenkov authored
Additionally, move the implementation of appendSuffix to Path.cpp: it is platform-independent. llvm-svn: 118089
-
Mikhail Glushenkov authored
This allows using GetDLLSuffix() with appendSuffix(). llvm-svn: 118051
-
- Sep 16, 2010
-
-
Michael J. Spencer authored
llvm-svn: 114037
-
Michael J. Spencer authored
llvm-svn: 114032
-
- Aug 31, 2010
-
-
Michael J. Spencer authored
llvm-svn: 112587
-
- May 27, 2010
-
-
Dan Gohman authored
getMagicNumber() does its own error checking. llvm-svn: 104851
-
- Dec 17, 2009
-
-
Jeffrey Yasskin authored
llvm-svn: 91620
-
- Oct 25, 2009
-
-
Chandler Carruth authored
llvm-svn: 85074
-
- Aug 24, 2009
-
-
Chris Lattner authored
forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
-
- Jul 12, 2009
-
-
Daniel Dunbar authored
- Patch by Viktor Kutuzov! - Minor tweak by me to add llvm_unreachable calls on FIXMEd error paths. llvm-svn: 75424
-
- Apr 25, 2009
-
-
Torok Edwin authored
Path.cpp:59: warning: case label value exceeds maximum value for type magic[0] is a (signed) char, but some case values are unsigned (e.g. 0xde). When magic[0] was 0xde, the switch has taken the default branch instead of case 0xde branch. Apparently this was the behaviour with older versions of gcc too, but not with g++. Now g++-4.4 behaves as gcc, and ignores unsigned case values out of range signed range. llvm-svn: 70038
-
- Apr 09, 2009
-
-
Daniel Dunbar authored
llvm-svn: 68663
-
- Jul 22, 2008
-
-
Devang Patel authored
llvm-svn: 53924
-
- Jul 09, 2008
-
-
Chris Lattner authored
bc files for modules with a target triple that indicates they are for darwin. The reader unconditionally handles this, and the writer could turn this on for more targets if we care. This change has two benefits for darwin: 1) it allows us to encode the cpu type of the file in an easy to read place that doesn't require decoding the bc file. 2) it works around a bug (IMO) in darwin's AR where it is incapable of handling files that are not a multiple of 8 bytes long. BC files are only guaranteed to be multiples of 4 bytes long. llvm-svn: 53275
-
- Jun 26, 2008
-
-
Bill Wendling authored
llvm-svn: 52775
-
Chris Lattner authored
This patch add supports for single architecture mach-o files (the current implementation only support Universal Binary), and solve the signature conflict between java class and Universal Binary magics. Note that this function will always returned dynamic library for Universal Binaries (like the current implementation) because the binary type is not include in the file header." Patch by Jean-Daniel Dupas! llvm-svn: 52766
-
- Jun 15, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 52288
-
- May 21, 2008
-
-
Bill Wendling authored
they aren't in the header file, systems with a <string> header file that isn't 64-bit clean shouldn't warn if #including Path.h and specifying -Wshorten-64-to-32. llvm-svn: 51393
-
- May 05, 2008
-
-
Evan Cheng authored
llvm-svn: 50659
-
- Apr 08, 2008
-
-
Ted Kremenek authored
llvm-svn: 49354
-
- Apr 07, 2008
-
-
Ted Kremenek authored
llvm-svn: 49352
-
- Feb 27, 2008
-
-
Chris Lattner authored
llvm-svn: 47662
-
- Feb 20, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 47397
-
- Jan 09, 2008
-
-
Duncan Sands authored
llvm-svn: 45781
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-