- Dec 09, 2011
-
-
Evan Cheng authored
llvm-svn: 146246
-
Andrew Trick authored
Patch by Brendon Cahoon! This extends the existing LoopUnroll and LoopUnrollPass. Brendon measured no regressions in the llvm test suite with -unroll-runtime enabled. This implementation works by using the existing loop unrolling code to unroll the loop by a power-of-two (default 8). It generates an if-then-else sequence of code prior to the loop to execute the extra iterations before entering the unrolled loop. llvm-svn: 146245
-
Evan Cheng authored
llvm-svn: 146244
-
Chandler Carruth authored
incompatible with the MIPS ABI. Patch by Simon Atanasyan. llvm-svn: 146243
-
Jim Ingham authored
Rework how the breakpoint conditions & callbacks are handled. We now iterate over all the locations at the site that got hit, and first check the condition, and if that location's condition says we should stop, then we run the callback. In the end if any location's condition and callback say we should stop, then we stop. llvm-svn: 146242
-
Richard Smith authored
llvm-svn: 146241
-
Anna Zaks authored
types are equivalent. + A taint test which tests bitwise operations and which was triggering an assertion due to presence of the integer to integer cast. llvm-svn: 146240
-
Chandler Carruth authored
appropriate macro. Patch by Alexey Prokhin. Fixes PR11498. llvm-svn: 146239
-
Rafael Espindola authored
symbol difference. This matches gas behavior and fixes PR11513. We still don't handle _GLOBAL_OFFSET_TABLE_ in data sections. llvm-svn: 146238
-
Argyrios Kyrtzidis authored
infinite recursion due to bad OpaqueValueExpr. llvm-svn: 146237
-
Richard Smith authored
documentation) with one based on what GCC's __builtin_constant_p is actually intended to do (discovered by asking a friendly GCC developer). In particular, an expression which folds to a pointer is now only considered to be a "constant" by this builtin if it refers to the first character in a string literal. This fixes a rather subtle wrong-code issue when building with glibc. Given: const char cs[4] = "abcd"; int f(const char *p) { return strncmp(p, cs, 4); } ... the macro magic for strncmp produces a (potentially crashing) call to strlen(cs), because it expands to an expression starting with: __builtin_constant_p(cs) && strlen(cs) < 4 ? /* ... */ Under the secret true meaning of __builtin_constant_p, this is guaranteed to be safe! llvm-svn: 146236
-
Douglas Gregor authored
all of the headers below that particular directory. Use umbrella directories as a clean way to deal with (1) directories/frameworks that don't have an umbrella header, but don't want to enumerate all of their headers, and (2) PrivateHeaders, which we never want to enumerate and want to keep separate from the main umbrella header. This also eliminates a little more of the "magic" for private headers, and frameworks in general. llvm-svn: 146235
-
Chad Rosier authored
llvm-svn: 146234
-
Chandler Carruth authored
belonged in the Serialization library, it's setting up a compilation, not just deserializing. This should fix PR11512, making Serialization actually be layered below Frontend, a long standing layering violation in Clang. llvm-svn: 146233
-
Akira Hatanaka authored
llvm-svn: 146232
-
Kostya Serebryany authored
[asan] make use-after-return mode more robust: allow to call instrumented functions while reporting an error llvm-svn: 146231
-
Chandler Carruth authored
different from what the comments indicated. Also drop a no longer used include that also violates the layering between Serialization and Frontend. llvm-svn: 146230
-
Akira Hatanaka authored
specified. llvm-svn: 146229
-
Chandler Carruth authored
part of HeaderSearch. This function just normalizes filenames for use inside of a synthetic include directive, but it is used in both the Frontend and Serialization libraries so it needs a common home. llvm-svn: 146227
-
Devang Patel authored
llvm-svn: 146226
-
Devang Patel authored
llvm-svn: 146220
-
Eli Friedman authored
llvm-svn: 146219
-
Fariborz Jahanian authored
// rdar://10535640 llvm-svn: 146218
-
Michael J. Spencer authored
dontlookhere check must be after it. llvm-svn: 146217
-
Greg Clayton authored
translation unit has a interface for a class "Bar" that contains hidden ivars in the implementation and we make sure we can see these hidden ivars. We also test the case where we stop in translation unit that contains the implementation first. So the test runs two tests: 1 - run and stop where we have an interface, run to main and print and make sure we find the hidden ivar 2 - run and stop where we have an implementation, run to main and print and make sure we find the hidden ivar llvm-svn: 146216
-
Michael J. Spencer authored
I have run these tests under many configurations on the exact same OS as the failures, and I can't reproduce them :(. llvm-svn: 146214
-
Argyrios Kyrtzidis authored
llvm-svn: 146213
-
Kostya Serebryany authored
llvm-svn: 146212
-
Argyrios Kyrtzidis authored
passed to clang_findReferencesInFile. llvm-svn: 146211
-
Argyrios Kyrtzidis authored
llvm-svn: 146210
-
Chandler Carruth authored
Amazingly this is all that's required. llvm-svn: 146209
-
Rafael Espindola authored
the behavior of gcc's unwind.h. llvm-svn: 146208
-
Chandler Carruth authored
diagnostics. Conflating them was highly confusing and makes it harder to establish a firm layering separation between these two libraries. llvm-svn: 146207
-
Eli Friedman authored
. move compiler-rt to a separate directory so the -L argument only includes compiler-rt (thanks joerg) . build all clang subdirs . switches the Minix platform to ELF . normalizes toolchain invocation Patch by Ben Gras. llvm-svn: 146206
-
Devang Patel authored
llvm-svn: 146205
-
Sean Callanan authored
in the context in which it was originally found, the expression parser now goes hunting for it in all modules (in the appropriate namespace, if applicable). This means that forward-declared types that exist in another shared library will now be resolved correctly. Added a test case to cover this. The test case also tests "frame variable," which does not have this functionality yet. llvm-svn: 146204
-
Kostya Serebryany authored
llvm-svn: 146203
-
Bill Wendling authored
llvm-svn: 146202
-
- Dec 08, 2011
-
-
Jim Grosbach authored
llvm-svn: 146201
-
Michael J. Spencer authored
directory_iterator preserve InputIterator semantics on copy. llvm-svn: 146200
-