summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Hook up the MCJIT to the RuntimeDyld library.Jim Grosbach2011-03-223-3/+22
| | | | | | | | Lots of cleanup to make the interfaces prettier, use the JITMemoryManager, handle multiple functions and modules, etc.. This gets far enough that the MCJIT compiles and runs code, though. llvm-svn: 128052
* Clear map after use.Jakob Stoklund Olesen2011-03-221-0/+1
| | | | | | This is likely to fix the segfault in llvm-gcc-x86_64-darwin10-cross-mingw32. llvm-svn: 128051
* Change return value of ComputeNonVirtualBaseClassOffset() to CharUnits. NoKen Dyck2011-03-221-13/+13
| | | | | | change in functionality intended. llvm-svn: 128050
* Initialize HasError.Jim Grosbach2011-03-221-0/+2
| | | | llvm-svn: 128049
* Avoid -Wunused-variable in -asserts buildsMatt Beaumont-Gay2011-03-221-6/+4
| | | | llvm-svn: 128048
* Eliminate some literal '8's in FillInNullDataMemberPointers() by switchingKen Dyck2011-03-221-5/+6
| | | | | | to CharUnits. No change in functionality intended. llvm-svn: 128047
* Dont emit 'DBG_VALUE %noreg, ...' to terminate user variable ranges.Jakob Stoklund Olesen2011-03-224-53/+82
| | | | | | | | | | These ranges get completely jumbled by the post-ra scheduler, and it is not really reasonable to expect it to make sense of them. Instead, teach DwarfDebug to notice when user variables in registers are clobbered, and terminate the ranges there. llvm-svn: 128045
* Output to tempfileMatt Beaumont-Gay2011-03-221-1/+1
| | | | llvm-svn: 128043
* Fix fast-isel address mode folding to avoid folding instructionsDan Gohman2011-03-222-16/+41
| | | | | | outside of the current basic block. This fixes PR9500, rdar://9156159. llvm-svn: 128041
* Add options to allow for specifying an option string when spawning gdb and ↵Johnny Chen2011-03-212-364/+264
| | | | | | | | | | | for executing command(s) right after starting up gdb. Update the README file to show an example of using these to pass '-arch armv7' to gdb and to execute gdb command to set shared library path substitutions before loading iOS4.3 sdk's /usr/lib/libSystem.B.dylib and disassembling the 'printf' function. llvm-svn: 128040
* compiler-rt/clang/cc_kext: Update for functions which we have sinced acquiredDaniel Dunbar2011-03-211-5/+4
| | | | | | implementations for. llvm-svn: 128039
OpenPOWER on IntegriCloud