- Sep 28, 2011
-
-
Michael J. Spencer authored
llvm-svn: 140721
-
Eli Friedman authored
NULL cannot be portably used as the last argument to a function with __attribute((sentinel)), even though it usually works. Use (void*)0 instead. PR11002. llvm-svn: 140720
-
Bill Wendling authored
llvm-svn: 140719
-
Bill Wendling authored
llvm-svn: 140718
-
Fariborz Jahanian authored
some arguments types are ns_consumed and some otherwise matching types are not. This fixes the objc++ side only *auch*. // rdar://10187884 llvm-svn: 140717
-
Richard Trieu authored
llvm-svn: 140716
-
Eric Christopher authored
llvm-svn: 140715
-
Johnny Chen authored
llvm-svn: 140714
-
Ted Kremenek authored
Tweak -Wobjc-missing-super-calls to not warning about missing [super dealloc] when in GC-only mode, and to not warning about missing [super finalize] when not using GC. llvm-svn: 140713
-
Devang Patel authored
Add llvm-cov skeleton. It has initial support to read coverage info generated by GCOVProfiling.cpp. Today, you can do prompt> clang a.c -ftest-coverage -fprofile-arcs -o a prompt> ./a prompt> llvm-cov -gcno a.gcno -gcda a.gcda a.c : #include "a.h" : : int main() { : int i = 0; : if (i) { 1: int j = 0; 1: j = 1; 1: } else { : int k = 1; : k = 2; : } 1: return 0; : } : : llvm-svn: 140712
-
Argyrios Kyrtzidis authored
llvm-svn: 140711
-
Johnny Chen authored
end address is an LLDB_INVALID_ADDRESS. Modify the test case to dump all the symbols in all the sections. llvm-svn: 140710
-
Justin Holewinski authored
llvm-svn: 140709
-
Chandler Carruth authored
llvm-svn: 140708
-
Argyrios Kyrtzidis authored
llvm-svn: 140707
-
Argyrios Kyrtzidis authored
llvm-svn: 140706
-
Akira Hatanaka authored
llvm-svn: 140705
-
Akira Hatanaka authored
llvm-svn: 140704
-
Akira Hatanaka authored
llvm-svn: 140703
-
Greg Clayton authored
hash tables. Renamed the DWARF sections to ".apple_names" and ".apple_types" until we get more buy in from other vendors. llvm-svn: 140702
-
Andrew Trick authored
Handle general Add expressions to avoid leaving around redundant 32-bit IVs. llvm-svn: 140701
-
Howard Hinnant authored
llvm-svn: 140700
-
Justin Holewinski authored
Get rid of some of the no-longer-needed parts of PTXAsmPrinter. llvm-svn: 140698
-
Justin Holewinski authored
Lay some groundwork for converting to MC-based asm printer. This is the first of probably many patches to bring the back-end back up-to-date with all of the recent MC changes. llvm-svn: 140697
-
James Molloy authored
Build on previous patches to successfully distinguish between an M-series and A/R-series MSR and MRS instruction. These take different mask names and have a *slightly* different opcode format. Add decoder and disassembler tests. Improvement on the previous patch - successfully distinguish between valid v6m and v7m masks (one is a subset of the other). The patch had to be edited slightly to apply to ToT. llvm-svn: 140696
-
Garrison Venn authored
handling with references to http://sourcery.mentor.com/public/cxx-abi/abi-eh.html (r 1.22). llvm-svn: 140695
-
NAKAMURA Takumi authored
llvm-svn: 140694
-
Chandler Carruth authored
llvm-svn: 140693
-
Chandler Carruth authored
predefines based on the output of GCC as well as the CPU predefines. Invert tests for __AVX__, Clang's AVX feature is hard coded off still. Switch Atom from 'SSE3' to 'SSSE3'. This matches GCC's behavior, Intel's documentation, and ICC's documentation (such as I could dig up). Switch Athlon and Geode to enable 3dnowa rather than just 3dnow and nothing (resp.). llvm-svn: 140692
-
Chandler Carruth authored
automate the process of updating and generating these tests. If anyone is really interested, I can check my scripts for generating this test in, but its a horrible pile of shell... Not sure its really worth it. llvm-svn: 140691
-
Chandler Carruth authored
__tune_...__ define as well. llvm-svn: 140690
-
Chandler Carruth authored
the target identifying macros at the top, including subtarget macros. llvm-svn: 140689
-
Chandler Carruth authored
Add 64-bit preprocessor macro tests. llvm-svn: 140688
-
Chandler Carruth authored
fallthrough now that we're working with a switch. Also remove a dubious "feature" regarding k6 processors and 3dnow and leave a fixme... Not that anyone is likely to care about correct tuning for k6 processors with and w/o 3dnow... llvm-svn: 140687
-
Duncan Sands authored
when there is both a catch and a cleanup. Correct the comment. llvm-svn: 140686
-
Chandler Carruth authored
selected CPU model to the enumeration. This parses the string representation once using a StringSwitch on SetCPU. It returns an error for strings which are not recognized (yay!). Finally it replaces ridiculous if-chains with switches that cover all enumerators. The last change required adding several missing entries to the features function. These were obvious on inspection. Yay for a pattern that gives warnings when we miss one. No new test cases yet, as I want to get the 64-bit errors working first. I'll then start fleshing out the testing more. Currently I'm primarily testing on Linux, but I'm hoping check whether there are interesting differences on darwin before long... llvm-svn: 140685
-
Chandler Carruth authored
tried to give these nice doxyments, but if I've gotten any of my history wrong, please chime in. llvm-svn: 140684
-
Chandler Carruth authored
it an error if a CPU is provided for a target that doesn't implement logic handling CPU settings, to match the ABI settings. It also removes the CPU parameter from the getDefaultFeatures method. This parameter was always filled in with the same value as setCPU was called with, and at this point every single target implementation that referenced the CPU within this function has needed to store the CPU via setCPU anyways in order to implement other interface points. llvm-svn: 140683
-
Benjamin Kramer authored
llvm-svn: 140682
-
Ted Kremenek authored
llvm-svn: 140681
-