- Apr 04, 2011
-
-
Jakob Stoklund Olesen authored
llvm-svn: 128820
-
NAKAMURA Takumi authored
llvm-svn: 128819
-
Joerg Sonnenberger authored
llvm-svn: 128818
-
Duncan Sands authored
llvm-svn: 128812
-
Jay Foad authored
returning a scalar value in a function whose return type is a single- element structure or array. llvm-svn: 128810
-
Eli Friedman authored
llvm-svn: 128809
-
Tobias Grosser authored
Contributed by: etherzhhb@gmail.com llvm-svn: 128808
-
-
Eli Friedman authored
I'm pretty sure this is the right fix, but I would appreciate it if someone else would double-check. llvm-svn: 128806
-
Peter Collingbourne authored
ref_cnt mutable and Retain/Release const to enable reference counted pointers to const objects llvm-svn: 128804
-
Eli Friedman authored
llvm-commits. (Not sure why it only breaks on Windows; maybe it has something to do with the iterator representation...) llvm-svn: 128802
-
Eric Christopher authored
separate executable. llvm-svn: 128801
-
Eric Christopher authored
llvm-svn: 128800
-
Eric Christopher authored
- Adds support for sniffing PE/COFF files on win32 (.exe and .dll) which are COFF files that have an MS-DOS compatibility stub on the front of them. - Fixes a bug in the COFFObjectFile's support for the Microsoft COFF extension for long symbol names, wherein it was attempting to parse the leading '/' in an extended symbol name reference as part of the integer offset. - Fixes bugs in COFFObjectFile and ELFObjectFile wherein section and symbol iterators were being returned with uninitialized bytes; the type DataRefImpl is a union between 2 32-bit words (d.a and d.b) and a single intptr_t word (p). Only p was being initialized, so in 32-bit builds the result would be iterators with random upper 32-bit words in their DataRefImpls. This caused random failures when seeking around in object files. Patch by Graydon Hoare! llvm-svn: 128799
-
Eric Christopher authored
Patch by Patrick Walton! llvm-svn: 128798
-
- Apr 03, 2011
-
-
Howard Hinnant authored
llvm-svn: 128797
-
-
Frits van Bommel authored
Remove the LLVMContext& arguments from *Folder constructors, as they don't seem to be used anywhere. llvm-svn: 128793
-
Oscar Fuentes authored
Patch by arrowdodger! llvm-svn: 128789
-
Richard Smith authored
clang has had full and tested support for C++0x trailing-return-type and auto type deduction since r126166. Update the website to reflect this, and add a __has_feature test. trailing-return-type codegen is not tested yet (name mangling in particular). llvm-svn: 128787
-
Lenny Maiorani authored
Refactoring the security checker a little bit so that each CallExpr check doesn't get called for each CallExpr. Instead it does a switch and only runs the check for the proper identifier. Slight speed improvement (probably significant on very large ASTs), and should make it easier and more clear to add more checks for other CallExpr's later. llvm-svn: 128785
-
Ted Kremenek authored
static analyzer: Add a new ProgramPoint PostCondition to represent the post position of a branch condition, and a new generateNode method to BranchNodeBuilder using PostCondition ProgramPoint. This method generates a new ExplodedNode but not a new block edge. Patch by Lei Zhang! llvm-svn: 128784
-
Ted Kremenek authored
Fix RegionStore bug when doing a field load whose parent is also a field assigned a LazyCompoundValue. Fixes <rdar://problem/9163742> and PR 9522. llvm-svn: 128783
-
Eli Friedman authored
after the given instruction; make sure to handle that case correctly. (It's difficult to trigger; the included testcase involves a dead block, but I don't think that's a requirement.) While I'm here, get rid of the unnecessary warning about SimplifyInstructionsInBlock, since it should work correctly as far as I know. llvm-svn: 128782
-
Eli Friedman authored
Based on PR9429, but no testcase because I can't figure out how to trigger it anymore given other changes to the relevant code. llvm-svn: 128781
-
- Apr 02, 2011
-
-
Nico Weber authored
llvm-svn: 128780
-
Argyrios Kyrtzidis authored
[analyzer] Simplify CheckerFn template and use it more to reduce duplication. No functionality change. llvm-svn: 128779
-
Benjamin Kramer authored
It's possible to craft an input that hits the recursion limits in a way that SimplifyDemandedBits doesn't simplify the icmp but ComputeMaskedBits can infer which bits are zero. No test case as it depends on too many other things. Fixes PR9609. llvm-svn: 128777
-
Ken Dyck authored
CharUnits. No change in functionality intended. llvm-svn: 128776
-
Ken Dyck authored
change in functionality intended. llvm-svn: 128773
-
Ken Dyck authored
dumpLayout(). No change in functionality intended. llvm-svn: 128771
-
Ken Dyck authored
change in functionality intended. llvm-svn: 128770
-
Oscar Fuentes authored
If someone first configure build with LLVM_ENABLE_FFI=1 and then turn it off, the build will fail in lib/ExecutionEngine/Interpreter because Interpreter will try still to #include <ffi/ffi.h>, but there are no include_directories(${FFI_INCLUDE_DIR}) now. This patch unset()'s HAVE_FFI_H and HAVE_FFI_FFI_H from cache file if LLVM_ENABLE_FFI=0. This forces CMake to update config.h. Patch by arrowdodger! llvm-svn: 128769
-
Chandler Carruth authored
a couple of operator overloads which form interesting expressions in the AST. I added test cases for both bugs with the c-index-test's token annotation feature. Also, thanks to John McCall for confirming that this is the correct solution. llvm-svn: 128768
-
Che-Liang Chiou authored
llvm-svn: 128767
-
Jakob Stoklund Olesen authored
llvm-svn: 128765
-
Jakob Stoklund Olesen authored
When the greedy register allocator is splitting multiple global live ranges, it tends to look at the same interference data many times. The InterferenceCache class caches queries for unaltered LiveIntervalUnions. llvm-svn: 128764
-
Jakob Stoklund Olesen authored
This is more compact and faster than using DenseMap. llvm-svn: 128763
-
Zhongxing Xu authored
llvm-svn: 128762
-
Ted Kremenek authored
Teach IdempotentOperationsChecker about paths aborted because ExprEngine didn't know how to handle a specific Expr type. llvm-svn: 128761
-