- Feb 06, 2013
-
-
Eric Christopher authored
units coming in. llvm-svn: 174548
-
Eric Christopher authored
llvm-svn: 174547
-
Akira Hatanaka authored
llvm-svn: 174546
-
Daniel Jasper authored
Assign a high penalty to breaking before "<<" if the previous token is a string literal ending in ":" or "=". Before: llvm::outs() << "aaaaaaaaaaaaaaaaa = " << aaaaaaaaaaaaaaaaa << "bbbbbbbbbbbbbbbbb = " << bbbbbbbbbbbbbbbbb << "ccccccccccccccccc = " << ccccccccccccccccc << "ddddddddddddddddd = " << ddddddddddddddddd << "eeeeeeeeeeeeeeeee = " << eeeeeeeeeeeeeeeee; After: llvm::outs() << "aaaaaaaaaaaaaaaaa = " << aaaaaaaaaaaaaaaaa << "bbbbbbbbbbbbbbbbb = " << bbbbbbbbbbbbbbbbb << "ccccccccccccccccc = " << ccccccccccccccccc << "ddddddddddddddddd = " << ddddddddddddddddd << "eeeeeeeeeeeeeeeee = " << eeeeeeeeeeeeeeeee; llvm-svn: 174545
-
Howard Hinnant authored
Marcin Zalewski: Change the name of a template parameter in __copy_backward from _InputIterator to _BidirectionalIterator to better document the intent of the algorithm. llvm-svn: 174544
-
Eli Bendersky authored
The test is a binary placed in test/DebugInfo/Inputs, with a source C file used for reference/reproducing. The source's first line is a clang build command for reproducing the binary. llvm-svn: 174543
-
Eli Bendersky authored
account. Atoms use LEA for updating SP in prologs/epilogs, and the exact LEA opcode depends on the data model. Also reapplying the test case which was added and then reverted (because of Atom failures), this time specifying explicitly the CPU in addition to the triple. The test case now checks all variations (data mode, cpu Atom vs. Core). llvm-svn: 174542
-
Guy Benyei authored
Canonicalize line endings to Linux style also when the --strict-whitespace flag is in use. This flag is supposed to affect horizontal whitespaces only. llvm-svn: 174541
-
Manuel Klimek authored
This is in preparation for adding other overloaded matchers. This change alone is a net win in LOC. I went through all matchers and looked whether we could now encode them as macro, or simplify them with the matcher atoms that were not available before. llvm-svn: 174540
-
Howard Hinnant authored
Give a lot more timing latitude to some of the timing tests. Busy buildbots are hitting the timing limits too often. llvm-svn: 174539
-
Daniel Dunbar authored
- This is a reasonable default, and makes testing just work with no required parameters. - Add notes on all of the inferred or default values. llvm-svn: 174538
-
Daniel Jasper authored
llvm-svn: 174537
-
Bill Wendling authored
llvm-svn: 174536
-
Howard Hinnant authored
Partially revert r152770. That commit moved the default handlers to their own file. But it also did some refactoring. It is the latter that is being reverted. The refactoring had accidentally removed the required effect that the default unexpected_handler calls std::terminate(), which is a visible effect. llvm-svn: 174532
-
Ted Kremenek authored
and for those we care about we should have a general way of testing them. llvm-svn: 174531
-
Jordan Rose authored
This was GCC's option to turn on UCN support, which we always have on now in C99 and C++ modes. Additionally, mark the -fno-extended-identifiers option as unsupported, since we don't support disabling UCNs in C99 and C++ modes. PR11538 llvm-svn: 174530
-
Douglas Gregor authored
Essentially, a module file on disk could change size between the time we stat() it and the time we open it, and we need to be robust against such a problem. llvm-svn: 174529
-
Daniel Dunbar authored
llvm-svn: 174528
-
Daniel Dunbar authored
- Patch by Michael van der Westhuizen. llvm-svn: 174527
-
Bill Schmidt authored
Most of PPCCallingConv.td is used only by the 32-bit SVR4 ABI. Rename things to clarify this. Also delete some code that's been commented out for a long time. llvm-svn: 174526
-
Tom Stellard authored
Only implemented for R600 so far. SI is missing implementations of a few callbacks used by the Indirect Addressing pass and needs code to handle frame indices. At the moment R600 only supports array sizes of 16 dwords or less. Register packing of vector types is currently disabled, which means that a vec4 is stored in T0_X, T1_X, T2_X, T3_X, rather than T0_XYZW. In order to correctly pack registers in all cases, we will need to implement an analysis pass for R600 that determines the correct vector width for each array. v2: - Add support for i8 zext load from stack. - Coding style fixes v3: - Don't reserve registers for indirect addressing when it isn't being used. - Fix bug caused by LLVM limiting the number of SubRegIndex declarations. v4: - Fix 64-bit defines llvm-svn: 174525
-
rdar://problem/13159777Greg Clayton authored
lldb was mmap'ing archive files once per .o file it loads, now it correctly shares the archive between modules. LLDB was also always mapping entire contents of universal mach-o files, now it maps just the slice that is required. Added a new logging channel for "lldb" called "mmap" to help track future regressions. Modified the ObjectFile and ObjectContainer plugin interfaces to take a data offset along with the file offset and size so we can implement the correct caching and efficient reading of parts of files without mmap'ing the entire file like we used to. The current implementation still keeps entire .a files mmaped (once) and entire slices from universal files mmaped to ensure that if a client builds their binaries during a debug session we don't lose our data and get corrupt object file info and debug info. llvm-svn: 174524
-
Daniel Malea authored
- resolves errors in cases that run the lldb CLI utility llvm-svn: 174522
-
Nico Weber authored
llvm-svn: 174521
-
Daniel Malea authored
llvm-svn: 174520
-
Daniel Malea authored
Patch by Abid Hafiz! llvm-svn: 174519
-
Tim Northover authored
Weakly defined symbols should evaluate to 0 if they're undefined at link-time. This is impossible to do with the usual address generation patterns, so we should use a literal pool entry to materlialise the address. llvm-svn: 174518
-
Manuel Klimek authored
We now correctly format: // Written as a macro, it is reformatted from: #define foo(a) \ do { \ /* Initialize num to zero. */ \ int num = 10; \ /* This line ensures a is never zero. */ \ int i = a == 0 ? 1 : a; \ i = num / i; /* This division is OK. */ \ return i; \ } while (false) llvm-svn: 174517
-
Alexey Samsonov authored
llvm-svn: 174516
-
Eli Bendersky authored
llvm-svn: 174515
-
Manuel Klimek authored
We now leave the semicolon in the line of the closing brace in: namespace { ... }; llvm-svn: 174514
-
Daniel Jasper authored
This fixes llvm.org/PR15165. We now correctly align: [image_rep drawInRect:drawRect fromRect:NSZeroRect operation:NSCompositeCopy fraction:1.0 ssssssssdd:NO hints:nil]; llvm-svn: 174513
-
Manuel Klimek authored
This is pretty common in macros: #define A(X, Y) class X##Y {}; llvm-svn: 174512
-
Alexander Potapenko authored
[ASan] fix the interceptor for siglongjmp. As we're using dylib interposition, we must intercept both siglongjmp and longjmp on Darwin. llvm-svn: 174510
-
Daniel Jasper authored
This fixes llvm.org/PR15162. Before: bool aaaaaaaaaaaaa = // comment aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaaa; After: bool aaaaaaaaaaaaa = // comment aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaaa; llvm-svn: 174508
-
Alexander Potapenko authored
Use 64-bit inodes in file operations. ASan is now built with -mmacosx-version-min=10.5, thus the default inode size is 32 bits. However the supported client code is going to target 10.6 and higher, where 64-bit inodes will be used. llvm-svn: 174507
-
Kostya Serebryany authored
llvm-svn: 174506
-
Kostya Serebryany authored
llvm-svn: 174505
-
Daniel Jasper authored
With this patch, clang-format can analyze the input file for two properties: 1. Is "int *a" or "int* a" more common. 2. Are non-C++03 constructs used, e.g. A<A<A>>. With Google-style, clang-format will now use the more common style for (1) and format C++03 compatible, unless it finds C++11 constructs in the input. llvm-svn: 174504
-
Daniel Jasper authored
The -invert-pointer-binding option will be superseeded by my next cfe-commit. Instead of explicitly overwriting this flag, clang-format can then be configured to auto-detect certain style-options based on the input file. llvm-svn: 174503
-