- Oct 20, 2009
-
-
Dan Gohman authored
llvm-svn: 84652
-
Jeffrey Yasskin authored
JITEmitter. I'm gradually making Functions auto-remove themselves from the JIT when they're destroyed. In this case, the Function needs to be removed from the JITEmitter, but the map recording which Functions need to be removed lived behind the JITMemoryManager interface, which made things difficult. This patch replaces the deallocateMemForFunction(Function*) method with a pair of methods deallocateFunctionBody(void *) and deallocateExceptionTable(void *) corresponding to the two startFoo/endFoo pairs. llvm-svn: 84651
-
Daniel Dunbar authored
llvm-svn: 84650
-
Fariborz Jahanian authored
Related to radar: <rdar://problem/7308503> clang should disallow the trailing semicolon in method definitions llvm-svn: 84647
-
Edward O'Callaghan authored
llvm-svn: 84646
-
Fariborz Jahanian authored
Fixes <rdar://problem/7308503> clang should disallow the trailing semicolon in method definitions llvm-svn: 84645
-
Steve Naroff authored
llvm-svn: 84642
-
Jim Grosbach authored
of the register in the instruction which kills the scavenged value. llvm-svn: 84641
-
Dan Gohman authored
encounters an OEQ or UNE comparison, and update its callers to check for this return status and recover. This fixes a problem resulting from the LowerOperation hooks being called from LegalizeVectorOps, because LegalizeVectorOps only lowers vectors, so OEQ and UNE comparisons may still be at large. This fixes PR5092. llvm-svn: 84640
-
Torok Edwin authored
When an incoming value for a PHI is updated, we must also updated all other incoming values for the same BB to match, otherwise we create invalid PHIs. llvm-svn: 84638
-
Torok Edwin authored
when the invoke had multiple return values: it set the lattice value only on the extractvalue. This caused the invoke's lattice value to remain the default (undefined), and later propagated to extractvalue's operand, which incorrectly introduces undefined behavior. llvm-svn: 84637
-
Steve Naroff authored
- Extend clang_createIndex() to support PCH and diagnostic 'filtering'. This seems cleaner to me without sacrificing much flexibility. - Remove clang_wantOnlyLocalDeclarations(). - Remove 'displayDiagnostics' arguments to clang_createTranslationUnitFromSourceFile() and clang_createTranslationUnit(). - Have clang_createTranslationUnitFromSourceFile() strip the '-o <outfile>' command line arguments if they exist. Document this semantic in the header. Also verify we have a valid ASTUnit before telling it to 'unlinkTemporaryFile()'. llvm-svn: 84634
-
Benjamin Kramer authored
llvm-svn: 84632
-
Sanjiv Gupta authored
llvm-svn: 84628
-
Eli Friedman authored
to all callers. Switch a few other users of CK_Unknown to proper cast kinds. Note that there are still some situations where we end up with CK_Unknown; they're pretty easy to find with grep. There are still a few missing conversion kinds, specifically pointer/int/float->bool and the various combinations of real/complex float/int->real/complex float/int. llvm-svn: 84623
-
Daniel Dunbar authored
- This runs the nightly test and does all the submission logic, but using the LLVM build specified by the llvm-config. - Useful for, among other things, testing NNT itself. llvm-svn: 84620
-
Daniel Dunbar authored
llvm-svn: 84619
-
Ted Kremenek authored
counts of the bufffers referened by the RopePieces in RopePieceBTreeLeaf. This (I believe) corrently fixes the leak I meant to fix in r84601 (which ended up causing an overrelease). llvm-svn: 84615
-
Chris Lattner authored
llvm-svn: 84614
-
Chris Lattner authored
present. llvm-svn: 84613
-
Douglas Gregor authored
qualified member access expression (e.g., t->U::member) when that first qualifier refers to a template parameters. llvm-svn: 84612
-
Chris Lattner authored
llvm-svn: 84611
-
Ted Kremenek authored
llvm-svn: 84610
-
Ted Kremenek authored
BumpVectorContext: Use 'unsigned' integer type with PointerIntUnion instead of bool to keep it clear that we are reasoning about an unsigned integer with a single bit. llvm-svn: 84607
-
Chris Lattner authored
implements a framework that allows us to use information about previously substituted values to simplify subsequent ones. Maybe this would be useful for C++'y stuff, who knows. We now get: t.c:4:21: error: invalid operands to binary expression ('size_t' (aka 'unsigned long *') and 'size_t') return (size_t) 0 + (size_t) 0; ~~~~~~~~~~ ^ ~~~~~~~~~~ on the testcase. Note that size_t is only aka'd once. llvm-svn: 84604
-
Daniel Dunbar authored
llvm-svn: 84603
-
Chris Lattner authored
pass them down into the ArgToStringFn implementation. This allows redundancy across operands to a diagnostic to be eliminated. This isn't used yet, so no functionality change. llvm-svn: 84602
-
Ted Kremenek authored
This was causing a ton of memory to be leaked when using HTML diagnostics with the static analyzer (on large files with many errors). llvm-svn: 84601
-
Daniel Dunbar authored
llvm-svn: 84600
-
Chris Lattner authored
llvm-svn: 84599
-
Dan Gohman authored
tracked. Instead of trying to manually keep track of these locations while doing complex modifications, just recompute them when they're needed. This fixes a bug in which the TopMBB and BotMBB were not correctly updated, leading to invalid transformations. llvm-svn: 84598
-
Evan Cheng authored
llvm-svn: 84597
-
Dan Gohman authored
llvm-svn: 84596
-
Nick Lewycky authored
llvm-svn: 84595
-
Daniel Dunbar authored
breaking Clang's Apple-style build. llvm-svn: 84592
-
Daniel Dunbar authored
llvm-svn: 84591
-
Mike Stump authored
WIP. I have yet to find the magic incantation to get the structure type to be defined. If someone has a pointer, love to hear it. llvm-svn: 84590
-
Anders Carlsson authored
llvm-svn: 84589
-
Jim Grosbach authored
functions are not needed. llvm-svn: 84587
-
Evan Cheng authored
llvm-svn: 84586
-