- Apr 12, 2011
-
-
Devang Patel authored
llvm-svn: 129367
-
Ted Kremenek authored
ArrayBoundCheckerV2: don't arbitrarily warn about indexing before the 0-index of a symbolic region. In many cases that isn't really the base offset. llvm-svn: 129366
-
Johnny Chen authored
llvm-svn: 129365
-
Lenny Maiorani authored
This patch adds modeling of strcmp() to the CString checker. Validates inputs are not NULL and are real C strings, then does the comparison and binds the proper return value. Unit tests included. llvm-svn: 129364
-
Fariborz Jahanian authored
the initialized's protocol and yet clang warns. objective-c issue, // rdar://9267196 llvm-svn: 129363
-
Rafael Espindola authored
llvm-svn: 129362
-
Rafael Espindola authored
llvm-svn: 129361
-
Garrison Venn authored
llvm-svn: 129360
-
Richard Smith authored
a crash when deserializing the AST for this: typedef char (&R); extern R &r; llvm-svn: 129358
-
Greg Clayton authored
the CommandInterpreter where it was always being used. Make sure that Modules can track their object file offsets correctly to allow opening of sub object files (like the "__commpage" on darwin). Modified the Platforms to be able to launch processes. The first part of this move is the platform soon will become the entity that launches your program and when it does, it uses a new ProcessLaunchInfo class which encapsulates all process launching settings. This simplifies the internal APIs needed for launching. I want to slowly phase out process launching from the process classes, so for now we can still launch just as we used to, but eventually the platform is the object that should do the launching. Modified the Host::LaunchProcess in the MacOSX Host.mm to correctly be able to launch processes with all of the new eLaunchFlag settings. Modified any code that was manually launching processes to use the Host::LaunchProcess functions. Fixed an issue where lldb_private::Args had implicitly defined copy constructors that could do the wrong thing. This has now been fixed by adding an appropriate copy constructor and assignment operator. Make sure we don't add empty ModuleSP entries to a module list. Fixed the commpage module creation on MacOSX, but we still need to train the MacOSX dynamic loader to not get rid of it when it doesn't have an entry in the all image infos. Abstracted many more calls from in ProcessGDBRemote down into the GDBRemoteCommunicationClient subclass to make the classes cleaner and more efficient. Fixed the default iOS ARM register context to be correct and also added support for targets that don't support the qThreadStopInfo packet by selecting the current thread (only if needed) and then sending a stop reply packet. Debugserver can now start up with a --unix-socket (-u for short) and can then bind to port zero and send the port it bound to to a listening process on the other end. This allows the GDB remote platform to spawn new GDB server instances (debugserver) to allow platform debugging. llvm-svn: 129351
-
Ted Kremenek authored
llvm-svn: 129349
-
Ted Kremenek authored
Fix bug in SimpleSValBuilder where '--' pointer arithmetic was treated like '++' pointer arithmetic. llvm-svn: 129348
-
Douglas Gregor authored
RTTI is disabled. Similarly, don't suggest throw or try as code completion results when C++ exceptions are disabled. Fixes <rdar://problem/9193560>. llvm-svn: 129346
-
Cameron Zwarich authored
stores of arguments in the same cache line. This fixes the second half of <rdar://problem/8674845>. llvm-svn: 129345
-
NAKAMURA Takumi authored
llvm-svn: 129343
-
John McCall authored
weak linkage. Also, fix a problem where global weak variables with non-trivial initializers were getting guard variables, or at least were checking for them and then crashing. llvm-svn: 129342
-
John McCall authored
llvm-svn: 129341
-
Nick Lewycky authored
Use debug info in the IR to find the directory/file:line:col. Each time that location changes, bump a counter. Unlike the existing profiling system, we don't try to look at argv[], and thusly don't require main() to be present in the IR. This matches GCC's technique where you specify the profiling flag when producing each .o file. The runtime library is minimal, currently just calling printf at program shutdown time. The API is designed to make it possible to emit GCOV data later on. llvm-svn: 129340
-
Douglas Gregor authored
Objective-C pointer type. Fixes <rdar://problem/9142559>. llvm-svn: 129339
-
Nick Lewycky authored
llvm-svn: 129338
-
John McCall authored
llvm-svn: 129337
-
John McCall authored
llvm-svn: 129336
-
John McCall authored
llvm-svn: 129335
-
Eric Christopher authored
llvm-svn: 129334
-
Ted Kremenek authored
llvm-svn: 129333
-
Greg Clayton authored
with the same program arguments for a process over and over without having to specify them (like you can with gdb with the "--args" option). llvm-svn: 129332
-
John McCall authored
for __unknown_anytype resolution to destructively modify the AST. So that's what it does now, which significantly simplifies some of the implementation. Normal member calls work pretty cleanly now, and I added support for propagating unknown-ness through &. llvm-svn: 129331
-
Nick Lewycky authored
Also document that the global variables produced are mergable. llvm-svn: 129330
-
Ted Kremenek authored
llvm-svn: 129329
-
Jim Grosbach authored
llvm-svn: 129328
-
Johnny Chen authored
llvm-svn: 129327
-
Eric Christopher authored
test for invalid hexadecimals. llvm-svn: 129326
-
Johnny Chen authored
Encoding T1 (tBcc) if cond == '1110' then UNDEFINED; rdar://problem/9268681 llvm-svn: 129325
-
Dan Gohman authored
reassociation opportunities are exposed. This fixes a bug where the nested reassociation expects to be the IR to be consistent, but it isn't, because the outer reassociation has disconnected some of the operands. rdar://9167457 llvm-svn: 129324
-
Eric Christopher authored
llvm-svn: 129323
-
Eric Christopher authored
.long 80+08 go ahead and assume that if we've got an Error token that we handled it already. Otherwise if it's a token we can't handle then go ahead and return the default error. llvm-svn: 129322
-
Jakob Stoklund Olesen authored
when compiling many small functions. llvm-svn: 129321
-
Johnny Chen authored
rdar://problem/9267838 llvm-svn: 129320
-
Chris Lattner authored
llvm-svn: 129319
-
NAKAMURA Takumi authored
TableGen: Keep the order of DECL_CONTEXT() for DeclNodes.td. RecordVector may be used instead of RecordSet. The result of DeclNodes.inc was unstable on msys, Windows 7 x64. llvm-svn: 129317
-