summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [arcmt] NSInvocation's [get/set]ReturnValue and [get/set]Argument are only safeArgyrios Kyrtzidis2011-07-188-3/+143
| | | | | | with __unsafe_unretained parameters. Emit error for strong/weak ones. rdar://9206226 llvm-svn: 135381
* Don't crash when codegen'ing an empty redecl of a function in C99 mode, whenNick Lewycky2011-07-182-3/+10
| | | | | | neither was inline. Fixes bug introduced in r135377. llvm-svn: 135380
* Delete empty unused file.Nick Lewycky2011-07-181-0/+0
| | | | llvm-svn: 135379
* Fix PR10387.Jakob Stoklund Olesen2011-07-181-1/+1
| | | | | | | | | | | | | When trying to rematerialize a value before an instruction that has an early-clobber redefine of the virtual register, make sure to look up the correct value number. Early-clobber defs are moved one slot back, so getBaseIndex is needed to find the used value number. Bugpoint was unable to reduce the test case for this, see PR10388. llvm-svn: 135378
* In C99, emit an inline function when encountering an extern redeclaration.Nick Lewycky2011-07-185-3/+51
| | | | | | Fixes PR10233! llvm-svn: 135377
* document this api change.Chris Lattner2011-07-181-1/+4
| | | | llvm-svn: 135376
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-18206-2030/+2029
| | | | llvm-svn: 135375
* update for recent api changes. I have a hard time believing that this is ↵Chris Lattner2011-07-181-2/+2
| | | | | | actually a useful example. llvm-svn: 135374
* update this to build with a recent IRBuilder change and de-constify types.Chris Lattner2011-07-181-10/+6
| | | | llvm-svn: 135373
* de-constify llvm::Type, patch by David Blaikie!Chris Lattner2011-07-1835-452/+452
| | | | llvm-svn: 135370
* LLC doesn't need to create MCInstrInfo's.Evan Cheng2011-07-181-1/+0
| | | | llvm-svn: 135369
* Use the new llvm::TinyPtrVector class, which implements exactly whatChris Lattner2011-07-181-73/+5
| | | | | | ShadowMapEntry was. llvm-svn: 135368
* add iteration support to TinyPtrVector for clang's use.Chris Lattner2011-07-181-0/+22
| | | | llvm-svn: 135367
* fix a warning in TinyPtrVector, adopt it in SSAUpdater, saving someChris Lattner2011-07-182-4/+4
| | | | | | mallocs. llvm-svn: 135366
* introduce a new TinyPtrVector class.Chris Lattner2011-07-182-0/+134
| | | | llvm-svn: 135365
* Simplify & microoptimize code. No intended functionality change.Benjamin Kramer2011-07-181-4/+2
| | | | llvm-svn: 135364
* Added a boolean to the pure virtual lldb_private::Process::CanDebug(...)Greg Clayton2011-07-1716-235/+442
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | method so process plug-ins that are requested by name can answer yes when asked if they can debug a target that might not have any file in the target. Modified the ConnectionFileDescriptor to have both a read and a write file descriptor. This allows us to support UDP, and eventually will allow us to support pipes. The ConnectionFileDescriptor class also has a file descriptor type for each of the read and write file decriptors so we can use the correct read/recv/recvfrom call when reading, or write/send/sendto for writing. Finished up an initial implementation of UDP where you can use the "udp://" URL to specify a host and port to connect to: (lldb) process connect --plugin kdp-remote udp://host:41139 This will cause a ConnectionFileDescriptor to be created that can send UDP packets to "host:41139", and it will also bind to a localhost port that can be given out to receive the connectionless UDP reply. Added the ability to get to the IPv4/IPv6 socket port number from a ConnectionFileDescriptor instance if either file descriptor is a socket. The ProcessKDP can now successfully connect to a remote kernel and detach using the above "processs connect" command!!! So far we have the following packets working: KDP_CONNECT KDP_DISCONNECT KDP_HOSTINFO KDP_VERSION KDP_REATTACH Now that the packets are working, adding new packets will go very quickly. llvm-svn: 135363
* Minor code cleanupsNadav Rotem2011-07-171-7/+6
| | | | llvm-svn: 135362
* Fix CMake build on SolarisOscar Fuentes2011-07-171-1/+1
| | | | | | | | | | | | When building LLVM/Clang on Solaris. The generated makefiles would have an extraneous semi-colon character in them prior to this change due to the way the 'CMAKE_CXX_FLAGS' variable was defined. Simply adjusting the definition by moving the current CMAKE_CXX_FLAGS value within the quotes solves the problem. Patch by Art Haas! llvm-svn: 135361
* tidy upChris Lattner2011-07-171-9/+9
| | | | llvm-svn: 135360
* Revert r135217, which wasn't the correct fix for PR10358. With thisChandler Carruth2011-07-162-10/+23
| | | | | | | | | | | patch, we actually move the state-machine for the value set backwards one step. This can pretty easily lead to infinite loops where we continually try to propagate a bit, succeed for one iteration, but then back up because we find an uninitialized use. A reduced test case from PR10379 is included. llvm-svn: 135359
* Silence compiler warnings.Benjamin Kramer2011-07-161-5/+4
| | | | llvm-svn: 135358
* Have SWIG generate autodoc strings with parameter types for all SB API ↵Johnny Chen2011-07-162-2/+3
| | | | | | objects by default. llvm-svn: 135357
* Do not modify string returned by getenv on Windows. Francois Pichet2011-07-161-4/+2
| | | | | | Fixes PR9875, patch by Nikola Smiljanic! llvm-svn: 135356
* Create an interface file for SBTarget named SBTarget.i which relieves SBTarget.hJohnny Chen2011-07-164-112/+494
| | | | | | | | | | | | | of the duty of having SWIG docstring features and multiline string literals embedded within. lldb.swig now %include .../SBTarget.i, instead of .../SBTarget.h. Will create other interface files and transition them over. Also update modify-python-lldb.py to better handle the trailing blank line right before the ending '"""' Python docstring delimiter. llvm-svn: 135355
* Remove unused LoopRanges from RegAllocGreedy.Jakub Staszak2011-07-161-6/+0
| | | | llvm-svn: 135354
* Remove "LoopInfo.h" include from BranchProbabilityInfo.h.Jakub Staszak2011-07-162-5/+8
| | | | llvm-svn: 135353
* Add MachineBlockFrequency analysis.Jakub Staszak2011-07-165-2/+120
| | | | llvm-svn: 135352
* Zero this struct in a way that neither depends on the size of the struct nor ↵Benjamin Kramer2011-07-161-0/+1
| | | | | | triggers warnings from GCC. llvm-svn: 135351
* [analyzer] Per discussions with the Cocoa team, extend CF naming conventions ↵Ted Kremenek2011-07-162-2/+94
| | | | | | to extend to camel case functions instead of just title case functions. Fixes <rdar://problem/9732321>. llvm-svn: 135350
* [analyzer] Place checking for Core Foundation "Create" rule into a proper ↵Ted Kremenek2011-07-164-14/+26
| | | | | | API. No functionality change. llvm-svn: 135349
* Remove a gcc warning.Fariborz Jahanian2011-07-161-1/+1
| | | | llvm-svn: 135348
* Add missing #include, fixes Linux buildPeter Collingbourne2011-07-161-0/+2
| | | | llvm-svn: 135346
* (Test commit for polly)NAKAMURA Takumi2011-07-161-2/+0
| | | | llvm-svn: 135345
* Correctly handle sysroot prefix in -print-search-dirs. Makes libtoolJoerg Sonnenberger2011-07-161-1/+10
| | | | | | more happy on NetBSD. llvm-svn: 135344
* Revert r135319 in an attempt to get to unbreak testers.Owen Anderson2011-07-163-28/+55
| | | | llvm-svn: 135343
* More minor adjustments.Eric Christopher2011-07-161-10/+10
| | | | llvm-svn: 135342
* Memaccess: Bugfix-Reading of JSCoP file failsRaghesh Aloor2011-07-161-1/+1
| | | | | | | While iterating through the memory accesses in JSCOP file the inner loop index was not initialized to zero. llvm-svn: 135340
* Silence unused variable warningMatt Beaumont-Gay2011-07-161-0/+1
| | | | llvm-svn: 135339
* Completed more work on the KDP darwin kernel debugging Process plug-in.Greg Clayton2011-07-1612-162/+607
| | | | | | | | | | | | | | | Implemented connect, disconnect, reattach, version, and hostinfo. Modified the ConnectionFileDescriptor class to be able to handle UDP. Added a new Stream subclass called StreamBuffer that is backed by a llvm::SmallVector for better efficiency. Modified the DataExtractor class to have a static function that can dump hex bytes into a stream. This is currently being used to dump incoming binary packet data in the KDP plug-in. llvm-svn: 135338
* Make the disassembler able to disassemble a bunch of instructions with names ↵Eli Friedman2011-07-163-1/+53
| | | | | | in the TableGen files containing "64" on x86-32. This includes a bunch of x87 instructions, like fld, and a bunch of SSSE3 instructions on MMX registers like pshufb. Part of PR8873. llvm-svn: 135337
* Some descriptive text for the Python script feature:Enrico Granata2011-07-1613-21/+287
| | | | | | | | | | | | | | | - help type summary add now gives some hints on how to use it frame variable and target variable now have a --no-summary-depth (-Y) option: - simply using -Y without an argument will skip one level of summaries, i.e. your aggregate types will expand their children and display no summary, even if they have one. children will behave normally - using -Y<int>, as in -Y4, -Y7, ..., will skip as many levels of summaries as given by the <int> parameter (obviously, -Y and -Y1 are the same thing). children beneath the given depth level will behave normally -Y0 is the same as omitting the --no-summary-depth parameter entirely This option replaces the defined-but-unimplemented --no-summary llvm-svn: 135336
* indvars: fix a pass-sensitivity issue that would hit the SCEVExpanderAndrew Trick2011-07-161-2/+13
| | | | | | | assertion I added in r135333. Check for the existence of a preheader before expanding a recurrence. llvm-svn: 135335
* indvars: remove ExprToIVMap because it won't be needed by LFTR.Andrew Trick2011-07-161-9/+3
| | | | llvm-svn: 135334
* Fix SCEVEXpander to handle arbitrary phi expansion. Includes twoAndrew Trick2011-07-162-9/+20
| | | | | | | related bug fixes and corresponding assertions for uninitialized data and missing NULL check. Test cases will be included with the new LFTR. llvm-svn: 135333
* Add AVX 128-bit patterns for sint_to_fpBruno Cardoso Lopes2011-07-162-1/+53
| | | | llvm-svn: 135332
* Added support for dynamic detection of AVX, andSean Callanan2011-07-168-17/+84
| | | | | | | | | | | | | | | | | | | | fixed a few bugs that revealed. Now the "register read" command should show AVX registers (ymm0-ymm15) on Mac OS X platforms that support them. When testing this on Mac OS X, run debugserver manually, like this: debugserver --native-regs localhost:1111 /path/to/executable Then lldb /path/to/executable ... (lldb) process connect connect://localhost:1111 llvm-svn: 135331
* Finish propagating %asmtmp->%1 change.Eric Christopher2011-07-162-2/+2
| | | | llvm-svn: 135330
* He said *before* the last split point.Jakob Stoklund Olesen2011-07-161-1/+1
| | | | | | | This should unbreak the build-self-4-mingw32 tester. I have a very complicated test case that I will try to clean up. llvm-svn: 135329
* Fix a typo.Fariborz Jahanian2011-07-161-1/+1
| | | | llvm-svn: 135328
OpenPOWER on IntegriCloud