- Nov 16, 2011
-
-
Sean Callanan authored
for each AST context it knows about in a single object. This makes it faster to look up the appropriate ASTImpoter for a given ASTContext pair and also makes it much easier to delete all metadata for a given AST context. In the future, this fix will allow the ClangASTImporter to propagate completion information between the metadata for different AST contexts as its minions move AST objects around. llvm-svn: 144835
-
Bob Wilson authored
The code for checking Neon builtin pointer argument types was assuming that there would only be one pointer argument. But, for vld2-4 builtins, the first argument is a special sret pointer where the result will be stored. So, instead of scanning all the arguments to find a pointer, have TableGen figure out the index of the pointer argument that needs checking. That's better than scanning all the arguments regardless. <rdar://problem/10448804> llvm-svn: 144834
-
Chad Rosier authored
target-independent selector or the target-specific selector. llvm-svn: 144833
-
Chad Rosier authored
for a single miss and not all predecessor instructions that get selected by the selection DAG instruction selector. This is still not exact (e.g., over states misses when folded/dead instructions are present), but it is a step in the right direction. llvm-svn: 144832
-
Jim Goodnow II authored
Manager. Added test to ensure proper binding of initialized values. This patch fixes PR11249. llvm-svn: 144831
-
Douglas Gregor authored
file in the source manager. This allows us to properly create and use modules described by module map files without umbrella headers (or with incompletely umbrella headers). More generally, we can actually build a PCH file that makes use of file -> buffer remappings, which could be useful in libclang in the future. llvm-svn: 144830
-
Benjamin Kramer authored
llvm-svn: 144829
-
Anna Zaks authored
Change the ArrayBoundCheckerV2 to be more aggressive in reporting buffer overflows when the offset is tainted. Previously, we did not report bugs when the state was underconstrained (not enough information about the bound to determine if there is an overflow) to avoid false positives. However, if we know that the buffer offset is tainted - comes in from the user space and can be anything, we should report it as a bug. + The very first example of us catching a taint related bug. This is the only example we can currently handle. More to come... llvm-svn: 144826
-
Anna Zaks authored
The checker is responsible for defining attack surface and adding taint to symbols. llvm-svn: 144825
-
Anna Zaks authored
TaintTag.h will contain definitions of different taint kinds and their properties. TaintManager will be responsible for implementing taint specific operations, storing taint. ProgramState will provide API to add/remove taint. llvm-svn: 144824
-
Anna Zaks authored
llvm-svn: 144823
-
Anna Zaks authored
llvm-svn: 144822
-
Anna Zaks authored
llvm-svn: 144821
-
Anna Zaks authored
many checkers are trying to get a name of the callee when visiting a CallExpr, so provide a convenience API. llvm-svn: 144820
-
Chandler Carruth authored
quite old now. Update the documentation to reflect this, and direct people to use VS2008 or newer. llvm-svn: 144818
-
Chandler Carruth authored
Clang. It isn't any more, and we're not going to twist the code around to make it work. llvm-svn: 144815
-
Jim Grosbach authored
llvm-svn: 144814
-
Sean Callanan authored
handles opaque QualTypes. llvm-svn: 144813
-
Jim Grosbach authored
rdar://9704684 llvm-svn: 144812
-
Pete Cooper authored
llvm-svn: 144811
-
Daniel Dunbar authored
them. llvm-svn: 144810
-
Daniel Dunbar authored
llvm-svn: 144809
-
Johnny Chen authored
llvm-svn: 144807
-
-
Chad Rosier authored
operands into a register. Otherwise, we may materialize dead code. llvm-svn: 144805
-
Evan Cheng authored
llvm-svn: 144804
-
Jim Grosbach authored
rdar://9704684 llvm-svn: 144803
-
Sean Callanan authored
rather than individually on behalf of each ASTContext. This allows the ASTImporter to know about all containers of types, which will let it be smarter about forwarding information about type origins. That means that the following sequence of steps will be possible (after a few more changes): - Import a type from a Module's ASTContext into an expression parser ASTContext, tracking its origin information -- this works now. - Because the result of the expression uses that type, import it from the expression parser ASTContext into the Target's scratch AST context, forwarding the origin information -- this needs to be added. - For a later expression that uses the result, import the type from the Target's scratch AST context, still forwarding origin information -- this also needs to be added. - Use the intact origin information to complete the type as needed -- this works now if the origin information is present. To this end, I made the following changes: - ASTImporter top-level copy functions now require both a source and a destination AST context parameter. - The ASTImporter now knows how to purge records related to an ASTContext that is going away. - The Target now owns and creates the ASTImporter whenever the main executable changes or (in the absence of a main executable) on demand. llvm-svn: 144802
-
Kostya Serebryany authored
llvm-svn: 144800
-
Richard Smith authored
llvm-svn: 144799
-
Bob Wilson authored
llvm-svn: 144798
-
Douglas Gregor authored
header, create our own in-memory buffer to parse all of the appropriate headers, and use that to build the module. This isn't end-to-end testable yet; that's coming next. llvm-svn: 144797
-
Abramo Bagnara authored
llvm-svn: 144796
-
Douglas Gregor authored
llvm-svn: 144795
-
NAKAMURA Takumi authored
lib/Target/ARM/CMakeLists.txt: Disable optimization in ARMISelLowering.cpp also on MSC15(aka VS9). Seems miscompiled. llvm-svn: 144794
-
Argyrios Kyrtzidis authored
diagnostic set is necessary. llvm-svn: 144793
-
Argyrios Kyrtzidis authored
unnecessary deserializations. llvm-svn: 144792
-
Argyrios Kyrtzidis authored
unnecessary deserializations. llvm-svn: 144791
-
Evan Cheng authored
llvm-svn: 144789
-
Evan Cheng authored
and code model. This eliminates the need to pass OptLevel flag all over the place and makes it possible for any codegen pass to use this information. llvm-svn: 144788
-