- May 03, 2011
-
-
Johnny Chen authored
to spawn an lldb child command. The test is not "correct" in that the '** Stop Hooks **' message emitted by the Target implementation is invoked asynchronously and is using a separate: CommandReturnObject result; command return object that what the driver passes to the normal command interpreter loop. But it can help test our output serialization work. I need to modify the test case later to maybe only test that "-o 'expr ptr'" option does indeed work. llvm-svn: 130742
-
Johnny Chen authored
llvm-svn: 130741
-
Johnny Chen authored
llvm-svn: 130740
-
Richard Trieu authored
Added an assert to IntegerLiteral to ensure that the integer type passed in has the same size as the APInt passed in. Also, updated the comments around IntegerLiteral. Changed the integer type that range-based for-loops used. Switched to pointer difference type, which satisfies the new assert in IntegerLiteral. llvm-svn: 130739
-
Caroline Tice authored
Fix the compiler in the project (accidentally checked in with wrong compiler). llvm-svn: 130738
-
Devang Patel authored
llvm-svn: 130736
-
Devang Patel authored
Do not try to get mangled name of block helpers. Apply a stopgap measure to fix SingleSource/UnitTests/block-copied-in-cxxobj compile time crash. llvm-svn: 130734
-
Owen Anderson authored
Other parts of the SelectionDAG framework assume that targets use their pointer type for vector indices. Make the vector unrolling code respect that. llvm-svn: 130733
-
- May 02, 2011
-
-
Devang Patel authored
Scanning entire basic block may be too expensive in terms of compile time. Instead, just use whatever location info first non-phi instruction has. llvm-svn: 130729
-
Greg Clayton authored
image list command so we can see the full triple for each target module. llvm-svn: 130728
-
Ted Kremenek authored
Tweak the retain/release checker to not stop tracking retained objects when calling C++ methods. This is a temporary solution to prune false positives until we have a general story using annotations. llvm-svn: 130726
-
Eric Christopher authored
force align the stack to the backend. Fixes rdar://9289631 llvm-svn: 130725
-
Daniel Dunbar authored
llvm-svn: 130723
-
Caroline Tice authored
This patch captures and serializes all output being written by the command line driver, including the lldb prompt being output by editline, the asynchronous process output & error messages, and asynchronous messages written by target stop-hooks. As part of this it introduces a new Stream class, StreamAsynchronousIO. A StreamAsynchronousIO object is created with a broadcaster, who will eventually broadcast the stream's data for a listener to handle, and an event type indicating what type of event the broadcaster will broadcast. When the Write method is called on a StreamAsynchronousIO object, the data is appended to an internal string. When the Flush method is called on a StreamAsynchronousIO object, it broadcasts it's data string and clears the string. Anything in lldb-core that needs to generate asynchronous output for the end-user should use the StreamAsynchronousIO objects. I have also added a new notification type for InputReaders, to let them know that a asynchronous output has been written. This is to allow the input readers to, for example, refresh their prompts and lines, if desired. I added the case statements to all the input readers to catch this notification, but I haven't added any code for handling them yet (except to the IOChannel input reader). llvm-svn: 130721
-
Chad Rosier authored
llvm-svn: 130720
-
Devang Patel authored
llvm-svn: 130719
-
Jakob Stoklund Olesen authored
llvm-svn: 130718
-
Eli Friedman authored
Skip extra copy from aggregate where it isn't necessary; rdar://problem/8139919 . This shouldn't make much of a difference at -O3, but should substantially reduce the number of generated memcpy's at -O0. llvm-svn: 130717
-
Eric Christopher authored
llvm-svn: 130716
-
Jakob Stoklund Olesen authored
llvm-svn: 130715
-
Jakob Stoklund Olesen authored
Def operands may also have an <undef> flag, but that just means that a sub-register redef doesn't actually read the super-register. For physical registers, it has no meaning. llvm-svn: 130714
-
Rafael Espindola authored
llvm-svn: 130713
-
Rafael Espindola authored
llvm-svn: 130712
-
Ted Kremenek authored
Augment retain/release checker to not warn about tracked objects passed as arguments to C++ constructors. This is a stop-gap measure for Objective-C++ code that uses smart pointers to manage reference counts. llvm-svn: 130711
-
Chad Rosier authored
llvm-svn: 130710
-
Johnny Chen authored
Add implementation of '==' and '!=' for SBFileSpec and SBModule. Modify a test case to take advantage of 'ths_module == that_module'. llvm-svn: 130709
-
Lenny Maiorani authored
Implements strncasecmp() checker and simplifies some of the logic around creating substrings if necessary and calling the appropriate StringRef::compare/compare_lower(). llvm-svn: 130708
-
Chandler Carruth authored
provides proper support for. This was caught by -Wundefined-reinterpret-cast, and I think a reasonable case for it to warn on. Also use is<...> instead of dyn_cast<...> when the result isn't needed. This whole thing should probably switch to using UsuallyTinyPtrVector. llvm-svn: 130707
-
Duncan Sands authored
a vector compare, generate a vector result rather than i1 (and crashing). llvm-svn: 130706
-
Duncan Sands authored
llvm-svn: 130705
-
Manuel Klimek authored
llvm-svn: 130704
-
Argyrios Kyrtzidis authored
llvm-svn: 130703
-
Devang Patel authored
This works around a limitation in gdb which is reported by following inherit.exp test failures from gdb testsuite. gdb.cp/inherit.exp: print g_vB.vB::vb gdb.cp/inherit.exp: print g_vB.vB::vx gdb.cp/inherit.exp: print g_vC.vC::vc gdb.cp/inherit.exp: print g_vC.vC::vx gdb.cp/inherit.exp: print g_vD.vB::vb ... llvm-svn: 130702
-
Jim Ingham authored
llvm-svn: 130701
-
Eli Friedman authored
Switch CallArgList from an std::pair to a new CallArg struct (which will eventually gain more members). Working towards modifying call emission to avoid unnecessary copies. llvm-svn: 130700
-
Eli Friedman authored
llvm-svn: 130699
-
Johnny Chen authored
llvm-svn: 130698
-
Rafael Espindola authored
OS X, but it is probably not all that important. llvm-svn: 130697
-
Fariborz Jahanian authored
llvm-svn: 130696
-
Duncan Sands authored
llvm-svn: 130695
-