- Nov 16, 2011
-
-
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
-
Bob Wilson authored
There may be many invokes that share one landing pad, and the previous code would record the landing pad once for each invoke. Besides the wasted effort, a pair of volatile loads gets inserted every time the landing pad is processed. The rest of the code can get optimized away when a landing pad is processed repeatedly, but the volatile loads remain, resulting in code like: LBB35_18: Ltmp483: ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r4, [r7, #-72] ldr r2, [r7, #-68] llvm-svn: 144787
-
Daniel Dunbar authored
implementation use of <math.h>. llvm-svn: 144786
-
Daniel Dunbar authored
where available. llvm-svn: 144785
-
Craig Topper authored
llvm-svn: 144784
-
Richard Smith authored
not safely derived. Don't allow lvalue-to-rvalue conversions on the result of dereferencing such a pointer. llvm-svn: 144783
-
rdar://problem/10444602Bob Wilson authored
This same basic code was in the older version of the SjLj exception handling, but it was removed in the recent revisions to that code. It needs to be there. llvm-svn: 144782
-
rdar://problem/10444602Bob Wilson authored
The EmitBasePointerRecalculation function has 2 problems, one minor and one fatal. The minor problem is that it inserts the code at the setjmp instead of in the dispatch block. The fatal problem is that at the point where this code runs, we don't know whether there will be a base pointer, so the entire function is a no-op. The base pointer recalculation needs to be handled as it was before, by inserting a pseudo instruction that gets expanded late. Most of the support for the old approach is still here, but it no longer has any connection to the eh_sjlj_dispatchsetup intrinsic. Clean up the parts related to the intrinsic and just generate the pseudo instruction directly. llvm-svn: 144781
-
Greg Clayton authored
After recent changes we weren't reaping child processes resulting in many zombie processes. This was fixed by adding more settings to the ProcessLaunchOptions class that allow clients to specify a callback function and baton to be notified when their process dies. If one is not supplied a default callback will be used that "does the right thing". Cleaned up a race condition in the ProcessGDBRemote class that would attempt to monitor when debugserver died. Added an extra boolean to the process monitor callbacks that indicate if a process exited or not. If your process exited with a zero exit status and no signal, both items could be zero. Modified the process monitor functions to not require a callback function in order to reap the child process. llvm-svn: 144780
-