- May 19, 2011
-
-
Rafael Espindola authored
llvm-svn: 131606
-
Rafael Espindola authored
llvm-svn: 131602
-
Eli Friedman authored
llvm-svn: 131600
-
- May 18, 2011
-
-
Eli Friedman authored
Third pass at allowing plugins to modify default passes. This time with a tweak so that we don't depend on an uninitialized argument. llvm-svn: 131581
-
Eli Friedman authored
llvm-svn: 131567
-
David Chisnall authored
Second pass at allowing plugins to modify default passes. This time without bonus inter-library dependencies. llvm-svn: 131556
-
- May 17, 2011
-
-
Rafael Espindola authored
getHostTriple. This fixes a 32 bit clang running on a 64 bit ubuntu. llvm-svn: 131463
-
- May 12, 2011
-
-
Devang Patel authored
s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g llvm-svn: 131244
-
Devang Patel authored
Let Objective-C front-end identify class extension, in dwarf output, using an attribute DW_AT_APPLE_objc_class_extension. llvm-svn: 131238
-
- May 11, 2011
-
-
Andrew Trick authored
llvm-svn: 131187
-
Andrew Trick authored
This change allows bugpoint to pinpoint the "opt" pass and bitcode segment responsible for a crash caused by miscompilation. At least it works well for me now, without having to create any custom execution wrappers. llvm-svn: 131186
-
- May 02, 2011
-
-
Nick Lewycky authored
comments claimed it did this, but the LHS value was actually an unused variable. The new system considers only the '-foo' part when comparing it for typos against flags that have values, but still look at the whole string for flags that don't. That way, we'll still correct '-inst=combine' to '-instcombine'. llvm-svn: 130685
-
- May 01, 2011
-
-
NAKAMURA Takumi authored
Windows/DynamicLibrary.inc: Clean up ELM_Callback. We may check the decl instead of the versions of individual libraries. autoconf: Add checking ELM_Callback decl for mingw32 and mingw-w64. cmake/config-ix.cmake: Add checking ELM_Callback decl for win32. llvm-svn: 130657
-
- Apr 29, 2011
-
-
Douglas Gregor authored
llvm-svn: 130510
-
- Apr 28, 2011
-
-
Ted Kremenek authored
Add MemoryBuffer::getBufferKind() to report whether a memory buffer uses malloc'ed or mmap'ed memory. This is for performance analysis. llvm-svn: 130432
-
Lenny Maiorani authored
Remove bounded StringRef::compare() since nothing but Clang SA was using it and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing. llvm-svn: 130430
-
- Apr 25, 2011
-
-
Chris Lattner authored
patch by Johannes Schaub! llvm-svn: 130151
-
- Apr 23, 2011
-
-
Jay Foad authored
llvm-svn: 130054
-
- Apr 22, 2011
-
-
Eric Christopher authored
llvm-svn: 129975
-
Devang Patel authored
llvm-svn: 129945
-
- Apr 20, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129852
-
Justin Holewinski authored
used by Clang. To help Clang integration, the PTX target has been split into two targets: ptx32 and ptx64, depending on the desired pointer size. - Add GCCBuiltin class to all intrinsics - Split PTX target into ptx32 and ptx64 llvm-svn: 129851
-
Daniel Dunbar authored
instead. llvm-svn: 129836
-
Daniel Dunbar authored
Triple::OSX once Clang has moved. llvm-svn: 129833
-
- Apr 19, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129815
-
Daniel Dunbar authored
enumeration values. llvm-svn: 129814
-
Daniel Dunbar authored
llvm-svn: 129799
-
Daniel Dunbar authored
llvm-svn: 129798
-
Ted Kremenek authored
Add BumpPtrAllocator::getTotalMemory() to allow clients to query how much memory a BumpPtrAllocator allocated. llvm-svn: 129727
-
- Apr 16, 2011
-
-
Devang Patel authored
Introduce support to encode Objective-C property information in debugging information generated for an interface. llvm-svn: 129624
-
- Apr 15, 2011
-
-
Lenny Maiorani authored
Implements StringRef::compare with bounds. It is behaves similarly to strncmp(). Unit tests also included. llvm-svn: 129582
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129558
-
- Apr 09, 2011
-
-
Chris Lattner authored
llvm-svn: 129193
-
- Apr 06, 2011
-
-
Frits van Bommel authored
llvm-svn: 129002
-
- Apr 05, 2011
-
-
Roman Divacky authored
llvm-svn: 128920
-
Andrew Trick authored
developers can see if their driver changed any cl::Option's. The current implementation isn't perfect but handles most kinds of options. This is nice to have when decomposing the stages of compilation and moving between different drivers. It's also a good sanity check when comparing results produced by different command line invocations that are expected to produce the comparable results. Note: This is not an attempt to prolong the life of cl::Option. On the contrary, it's a placeholder for a feature that must exist when cl::Option is replaced by a more appropriate framework. A new framework needs: a central option registry, dynamic name lookup, non-global containers of option values (e.g. per-module, per-function), *and* the ability to print options values and their defaults at any point during compilation. llvm-svn: 128910
-
- 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
-
- Mar 30, 2011
-
-
Jakob Stoklund Olesen authored
StringMap was not properly updating NumTombstones after a clear or rehash. This was not fatal until now because the table was growing faster than NumTombstones could, but with the previous change of preventing infinite growth of the table the invariant (NumItems + NumTombstones <= NumBuckets) stopped being observed, causing infinite loops in certain situations. Patch by José Fonseca! llvm-svn: 128567
-
Jakob Stoklund Olesen authored
Rehash but don't grow when full of tombstones. Patch by José Fonseca! llvm-svn: 128566
-
Jakob Stoklund Olesen authored
Rehash but don't grow when full of tombstones. Patch by José Fonseca! llvm-svn: 128565
-