summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reapply r128045 and r128051 with fixes.Jakob Stoklund Olesen2011-03-224-57/+94
| | | | | | | | | | | | | | | | This will extend the ranges of debug info variables in registers until they are clobbered. Fix 1: Don't mistake DBG_VALUE instructions referring to incoming arguments on the stack with DBG_VALUE instructions referring to variables in the frame pointer. This fixes the gdb test-suite failure. Fix 2: Don't trace through copies to physical registers setting up call arguments. These registers are call clobbered, and the source register is more likely to be a callee-saved register that can be extended through the call instruction. llvm-svn: 128114
* LDRT and LDRBT was incorrectly tagged as IndexModeNone during the ↵Johnny Chen2011-03-222-2/+5
| | | | | | | | | | refactorings (r119821). We now tag them as IndexModePost. This fixed http://llvm.org/bugs/show_bug.cgi?id=9530. llvm-svn: 128113
* Try to appease buildbot gods.Devang Patel2011-03-221-1/+1
| | | | llvm-svn: 128112
* Added AVX support to the Intel portion of debugserver. AVXSean Callanan2011-03-228-349/+1522
| | | | | | | autodetection is not yet implemented, but the structures and register reading/writing code are there. llvm-svn: 128111
* Make the definition of "long double" consistent for llvm::Triple::Win32 forEli Friedman2011-03-221-1/+3
| | | | | | both 32-bit and 64-bit targets. llvm-svn: 128110
* Simplify Mac runtime selection - it's the factory function's job to select ↵David Chisnall2011-03-223-16/+4
| | | | | | which class to produce, not CodeGenModule's. llvm-svn: 128109
* Add a lto_codegen_compile_to_file to avoid producing a file, reading it toRafael Espindola2011-03-226-73/+70
| | | | | | memory and writing it back to disk. llvm-svn: 128108
* A bit more analysis of a memset-related README entry.Eli Friedman2011-03-221-4/+5
| | | | llvm-svn: 128107
* Add one more test case for VFP Load/Store Multiple (vpop).Johnny Chen2011-03-221-0/+3
| | | | llvm-svn: 128106
* Hopefully fix VS build by not using std::vector::data().Ted Kremenek2011-03-221-3/+6
| | | | llvm-svn: 128105
* Make the property accessor functions that take a ptrdiff_t actually take a ↵David Chisnall2011-03-222-4/+6
| | | | | | ptrdiff_t instead of a long (should have no impact on any sane platforms, but win64 is not sane). llvm-svn: 128104
* A8.6.399 VSTM:Johnny Chen2011-03-222-12/+5
| | | | | | | | | | | VFP Load/Store Multiple Instructions used to embed the IA/DB addressing mode within the MC instruction; that has been changed so that now, for example, VSTMDDB_UPD and VSTMDIA_UPD are two instructions. Update the ARMDisassemblerCore.cpp's DisassembleVFPLdStMulFrm() to reflect the change. Also add a test case. llvm-svn: 128103
* Make the ivar offset always be a ptrdiff_t, because stuff in CGObjC.cpp ↵David Chisnall2011-03-221-3/+5
| | | | | | expects this. Actually, it expects a long, but that's a bug that will be fixed in the next commit... llvm-svn: 128102
* Migrate the fix in r128041 to ARM's fastisel support as well.Eric Christopher2011-03-221-13/+18
| | | | | | Fixes rdar://9169640 llvm-svn: 128100
* We don't need a null terminator for the output file.Rafael Espindola2011-03-223-7/+16
| | | | llvm-svn: 128098
* Revert r128045 and r128051, debug info enhancements.Andrew Trick2011-03-224-83/+53
| | | | | | Temporarily reverting these to see if we can get llvm-objdump to link. Hopefully this is not the problem. llvm-svn: 128097
* Tidy up.Jim Grosbach2011-03-221-2/+1
| | | | llvm-svn: 128096
* Add missing file from previous commit.Jim Grosbach2011-03-221-0/+161
| | | | llvm-svn: 128095
* Propogate the error message, not just the error state.Jim Grosbach2011-03-223-2/+9
| | | | llvm-svn: 128094
* Add simple arg passing to MC-JIT and support for exit() call.Jim Grosbach2011-03-223-4/+115
| | | | | | | | | | | | | Support argument passing simple, common, prototypes directly. More complicated scenarios will require building up a stub function, which the MC-JIT isn't set up to handle yet. Add Intercept.cpp, which is just a copy from ExecutionEngine/JIT for now, to handle looking looking up external symbol names. This probably more properly belongs as part of RuntimeDyld. It'll migrate there as things flesh out more fully. llvm-svn: 128090
* Fix typo in comment.Nick Lewycky2011-03-221-1/+1
| | | | llvm-svn: 128088
* Frontend: Add a more explicit -backend-option flag for passing backend commandDaniel Dunbar2011-03-226-5/+18
| | | | | | | | line options, instead of leveraging the blanket -mllvm option. - This allows using the frontend itself without requiring the backend have those options available (i.e., if the target wasn't built). llvm-svn: 128087
* Trailing whitespace.Jim Grosbach2011-03-225-46/+46
| | | | llvm-svn: 128086
* Change MRC and MRC2 instructions to model the output register properlyBruno Cardoso Lopes2011-03-223-24/+37
| | | | llvm-svn: 128085
* ptx: add analyze/insert/remove branchChe-Liang Chiou2011-03-224-3/+173
| | | | llvm-svn: 128084
* Don't clear OverloadCandidateSets on destruction, it has no effect anymore.Benjamin Kramer2011-03-221-2/+0
| | | | | | And clearing a SmallPtrSet can be an expensive operation. llvm-svn: 128081
* Fix comment in header.Eric Christopher2011-03-221-1/+1
| | | | llvm-svn: 128077
* Apply Jonathan Sauer's proposed solution to PR9519. Thanks!John McCall2011-03-222-1/+7
| | | | llvm-svn: 128075
* The emission of an Objective-C++'s class .cxx_destruct method should beJohn McCall2011-03-224-55/+142
| | | | | | | conditioned on whether it has any destructible ivars, not on whether it has any non-trivial class-object initializers. llvm-svn: 128074
* Fix a test case and teach ClearLinkageCache() to clear the linkage ofJohn McCall2011-03-222-3/+5
| | | | | | | a function template decl's pattern, which was suddenly exposed by my last patch. llvm-svn: 128073
* File-scope static functions need to be mangled with 'L' so thatJohn McCall2011-03-222-5/+21
| | | | | | | | they don't collide with file-scope extern functions from the same translation unit. This is basically a matter of applying the same logic to FunctionDecls as we were previously applying to VarDecls. llvm-svn: 128072
* Properly initialize all fields in CrashReporterCleanupContext. This caused ↵Ted Kremenek2011-03-222-3/+2
| | | | | | the buildbot failure earlier. llvm-svn: 128071
* Split the GDBRemoteCommunication class into three classes:Greg Clayton2011-03-2213-1172/+1551
| | | | | | | | | | GDBRemoteCommunication - The base GDB remote communication class GDBRemoteCommunicationClient - designed to be used for clients the connect to a remote GDB server GDBRemoteCommunicationServer - designed to be used on the server side of a GDB server implementation. llvm-svn: 128070
* Updated library dependencies.Oscar Fuentes2011-03-222-2/+2
| | | | | | | | Now we can remove RuntimeDyld from the LLVM_LINK_COMPONENTS of tools/lli. CMakeLists.txt LLVM_LINK_COMPONENTS shall not differ from its companion Makefile LINK_COMPONENTS. llvm-svn: 128069
* Handle another case that Frits suggested.Anders Carlsson2011-03-221-2/+4
| | | | llvm-svn: 128068
* Update link components.Jim Grosbach2011-03-221-1/+1
| | | | | | | Also perform the required dark rituals and sacrifices to placate the buildbot spirits. We shall see if they are appeased... llvm-svn: 128067
* Add "up" and "down" aliases.Jim Ingham2011-03-221-0/+33
| | | | llvm-svn: 128066
* Temporarily stop recovering resources in CrashRecoveryContext while I ↵Ted Kremenek2011-03-221-1/+1
| | | | | | investigate further why this works on my machine and not on others. llvm-svn: 128065
* Clean up a few places where SetOptionValue was using the global optarg, ↵Jim Ingham2011-03-223-22/+22
| | | | | | rather than the option_arg value that was passed in. llvm-svn: 128064
* Add the ability to disassemble "n" instructions from the current PC, or the ↵Jim Ingham2011-03-2210-160/+468
| | | | | | | | first "n" instructions in a function. Also added a "-p" flag that disassembles from the current pc. llvm-svn: 128063
* Tidy up the stop hook printing when only one thread matches, and there is ↵Jim Ingham2011-03-221-3/+17
| | | | | | only one hook. llvm-svn: 128062
* Added missing files.Greg Clayton2011-03-221-0/+112
| | | | llvm-svn: 128061
* Convert Offset variable in GetAddressOfDirectBaseInCompleteClass() toKen Dyck2011-03-221-5/+5
| | | | | | CharUnits. No change in functionality intended. llvm-svn: 128060
* Rework crash recovery cleanup in ASTUnit and CIndex to recover more memory ↵Ted Kremenek2011-03-222-46/+89
| | | | | | | | during a Sema crash (we have just a handful of leaks left) and to use the simplified cleanup registration API. llvm-svn: 128059
* Remove crash recovery cleanups from TypeLocBuilder. They were a bit error ↵Ted Kremenek2011-03-221-7/+1
| | | | | | prone, only hit in rare cases. llvm-svn: 128058
* Simplify crash recovery cleanup registration.Ted Kremenek2011-03-221-3/+2
| | | | llvm-svn: 128057
* Migrate 'PrettySTackTraceParserEntry' object out of Parser, and have it ↵Ted Kremenek2011-03-223-6/+11
| | | | | | | | constructed within ParseAST. This avoids double crashes during crash recovery. llvm-svn: 128056
* Rework CrashRecoveryContextCleanup to provide a simpler way to create ↵Ted Kremenek2011-03-221-52/+60
| | | | | | | | cleanup objects, and provide a new cleanup for decrementing reference counts of objects with intrusive reference counts. llvm-svn: 128055
* Relax access control on 'Release' method of RefCountedBase.Ted Kremenek2011-03-221-3/+1
| | | | llvm-svn: 128054
* Abtracted the innards of lldb-core away from the SB interface. There was someGreg Clayton2011-03-2214-229/+327
| | | | | | | | | | | | | | | | overlap in the SWIG integration which has now been fixed by introducing callbacks for initializing SWIG for each language (python only right now). There was also a breakpoint command callback that called into SWIG which has been abtracted into a callback to avoid cross over as well. Added a new binary: lldb-platform This will be the start of the remote platform that will use as much of the Host functionality to do its job so it should just work on all platforms. It is pretty hollowed out for now, but soon it will implement a platform using the GDB remote packets as the transport. llvm-svn: 128053
OpenPOWER on IntegriCloud