- Jul 27, 2010
-
-
Jordy Rose authored
Groundwork for C string length tracking. Currently only handles the length of constant string literals, which is not too helpful, and only calls to strlen() are checked. llvm-svn: 109480
-
Howard Hinnant authored
A good start on ecma regex's. Maybe even feature complete, not sure yet. Also an unrelated fix to is_constructible thanks to Daniel Krugler. llvm-svn: 109479
-
Dan Gohman authored
that the values they refer to aren't being deleted underneath them. Make sure these containters get cleared by clear(), which IndVarSimplify and LSR both use before deleting instructions. llvm-svn: 109478
-
Sean Callanan authored
trying to do replaceUsesOfWith on a constant, which doesn't work. Turns out we don't need to do anything for constants. llvm-svn: 109477
-
Sean Callanan authored
it returns a list of functions as a SymbolContextList. Rewrote the clients of SymbolContext to use this SymbolContextList. Rewrote some of the providers of the data to SymbolContext to make them respect preferences as to whether the list should be cleared first; propagated that change out. ClangExpressionDeclMap and ClangASTSource use this new function list to properly generate function definitions - even for functions that don't have a prototype in the debug information. llvm-svn: 109476
-
Douglas Gregor authored
of the usual consistency checks used to determine when a precompiled header is incompatible with the translation unit it's being loaded into. Enable this option when loading a precompiled preamble, because the preamble loader will be performing all of this checking itself. Enable the preamble-based test now that it's working. This option is also useful for debugging Clang's PCH (<rdar://problem/7532213>). llvm-svn: 109475
-
Sebastian Redl authored
- Stop reading in (and thus deserializing) every declaration in the TU when creating a dependent PCH. - Switch the storage of a decl context's lexical declarations to a blob containing the IDs instead of a record. This is the only sane way of supporting update records later on. llvm-svn: 109474
-
Owen Anderson authored
llvm-svn: 109473
-
Owen Anderson authored
llvm-svn: 109472
-
Owen Anderson authored
llvm-svn: 109471
-
Douglas Gregor authored
its absolute path on disk. Also, introduce a fun test for the precompiled preamble, which almost works... llvm-svn: 109470
-
Jakob Stoklund Olesen authored
rewrite instructions for live range splitting. Still work in progress. llvm-svn: 109469
-
Dan Gohman authored
llvm-svn: 109468
-
Fariborz Jahanian authored
if it hs side-effect to matchgcc's behaviour. Addresses radar 8172109. llvm-svn: 109467
-
Chris Lattner authored
llvm-svn: 109464
-
John McCall authored
I knew this code duplication would bite me. llvm-svn: 109463
-
Bill Wendling authored
llvm-svn: 109462
-
Eli Friedman authored
llvm-svn: 109458
-
Anton Korobeynikov authored
llvm-svn: 109456
-
Sean Callanan authored
frame state after running a function. This caused nondeterministic crashes in the expression evaluation code. llvm-svn: 109454
-
Benjamin Kramer authored
llvm-svn: 109452
-
- Jul 26, 2010
-
-
Bob Wilson authored
exception handling. Also fix an extra underscore typo in one instance of "__ARM_EABI__". Radar 8236264. llvm-svn: 109451
-
Evan Cheng authored
llvm-svn: 109450
-
Evan Cheng authored
The "excess register pressure" returned by HighRegPressure() is not accurate enough to factor into scheduling priority. Eliminate it and add early exits to speed up scheduling. llvm-svn: 109449
-
Anton Korobeynikov authored
llvm-svn: 109448
-
Dan Gohman authored
llvm-svn: 109447
-
Douglas Gregor authored
reparsing an ASTUnit. When saving a preamble, create a buffer larger than the actual file we're working with but fill everything from the end of the preamble to the end of the file with spaces (so the lexer will quickly skip them). When we load the file, create a buffer of the same size, filling it with the file and then spaces. Then, instruct the lexer to start lexing after the preamble, therefore continuing the parse from the spot where the preamble left off. It's now possible to perform a simple preamble build + parse (+ reparse) with ASTUnit. However, one has to disable a bunch of checking in the PCH reader to do so. That part isn't committed; it will likely be handled with some other kind of flag (e.g., -fno-validate-pch). As part of this, fix some issues with null termination of the memory buffers created for the preamble; we were trying to explicitly NULL-terminate them, even though they were also getting implicitly NULL terminated, leading to excess warnings about NULL characters in source files. llvm-svn: 109445
-
Dan Gohman authored
llvm-svn: 109443
-
Dan Gohman authored
to deleting it. llvm-svn: 109441
-
Dan Gohman authored
llvm-svn: 109440
-
Dan Gohman authored
llvm-svn: 109438
-
Dan Gohman authored
Also, don't link in all the clang libraries statically. llvm-svn: 109436
-
Dan Gohman authored
llvm-svn: 109435
-
Bruno Cardoso Lopes authored
we are using AVX and no AVX version of the desired intruction is present, this is better for incremental dev (without fallbacks it's easier to spot what's missing). Not sure this is the best hack thought (we can also disable all HasSSE* predicates by dinamically marking them 'false' if AVX is present) llvm-svn: 109434
-
Owen Anderson authored
llvm-svn: 109433
-
Owen Anderson authored
llvm-svn: 109431
-
Dan Gohman authored
llvm-svn: 109430
-
Dan Gohman authored
llvm-svn: 109429
-
Ted Kremenek authored
string argument type checking. llvm-svn: 109428
-
Ted Kremenek authored
llvm-svn: 109427
-