Jim Grosbach
e14460ba37
Trailing whitespace.
...
llvm-svn: 128086
2011-03-22 15:21:58 +00:00
Bruno Cardoso Lopes
f922b20922
Change MRC and MRC2 instructions to model the output register properly
...
llvm-svn: 128085
2011-03-22 15:06:24 +00:00
Che-Liang Chiou
7413080cea
ptx: add analyze/insert/remove branch
...
llvm-svn: 128084
2011-03-22 14:12:00 +00:00
Benjamin Kramer
ce276e3822
Don't clear OverloadCandidateSets on destruction, it has no effect anymore.
...
And clearing a SmallPtrSet can be an expensive operation.
llvm-svn: 128081
2011-03-22 09:46:54 +00:00
Eric Christopher
b572196a99
Fix comment in header.
...
llvm-svn: 128077
2011-03-22 08:49:56 +00:00
John McCall
30cd20a316
Apply Jonathan Sauer's proposed solution to PR9519. Thanks!
...
llvm-svn: 128075
2011-03-22 07:16:37 +00:00
John McCall
6a4fa52b37
The emission of an Objective-C++'s class .cxx_destruct method should be
...
conditioned on whether it has any destructible ivars, not on whether
it has any non-trivial class-object initializers.
llvm-svn: 128074
2011-03-22 07:05:39 +00:00
John McCall
8f9a42971e
Fix a test case and teach ClearLinkageCache() to clear the linkage of
...
a function template decl's pattern, which was suddenly exposed by my
last patch.
llvm-svn: 128073
2011-03-22 06:58:49 +00:00
John McCall
290b32b90f
File-scope static functions need to be mangled with 'L' so that
...
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
2011-03-22 06:34:45 +00:00
Ted Kremenek
857e535520
Properly initialize all fields in CrashReporterCleanupContext. This caused the buildbot failure earlier.
...
llvm-svn: 128071
2011-03-22 04:33:13 +00:00
Greg Clayton
576d8834fe
Split the GDBRemoteCommunication class into three classes:
...
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
2011-03-22 04:00:09 +00:00
Oscar Fuentes
27cfcbac82
Updated library dependencies.
...
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
2011-03-22 03:58:55 +00:00
Anders Carlsson
1cc8073bb3
Handle another case that Frits suggested.
...
llvm-svn: 128068
2011-03-22 03:21:01 +00:00
Jim Grosbach
7bf595348e
Update link components.
...
Also perform the required dark rituals and sacrifices to placate the buildbot
spirits. We shall see if they are appeased...
llvm-svn: 128067
2011-03-22 03:10:14 +00:00
Jim Ingham
ffba229d61
Add "up" and "down" aliases.
...
llvm-svn: 128066
2011-03-22 02:29:32 +00:00
Ted Kremenek
9931652775
Temporarily stop recovering resources in CrashRecoveryContext while I investigate further why this works on my machine and not on others.
...
llvm-svn: 128065
2011-03-22 02:06:32 +00:00
Jim Ingham
0292f4a531
Clean up a few places where SetOptionValue was using the global optarg, rather than the option_arg value that was passed in.
...
llvm-svn: 128064
2011-03-22 01:53:33 +00:00
Jim Ingham
37023b06bd
Add the ability to disassemble "n" instructions from the current PC, or the first "n" instructions in a function.
...
Also added a "-p" flag that disassembles from the current pc.
llvm-svn: 128063
2011-03-22 01:48:42 +00:00
Jim Ingham
381e25b793
Tidy up the stop hook printing when only one thread matches, and there is only one hook.
...
llvm-svn: 128062
2011-03-22 01:47:27 +00:00
Greg Clayton
b43767aff2
Added missing files.
...
llvm-svn: 128061
2011-03-22 01:34:44 +00:00
Ken Dyck
6aa767c18e
Convert Offset variable in GetAddressOfDirectBaseInCompleteClass() to
...
CharUnits. No change in functionality intended.
llvm-svn: 128060
2011-03-22 01:21:15 +00:00
Ted Kremenek
022a4904fa
Rework crash recovery cleanup in ASTUnit and CIndex to recover more memory during a Sema crash (we have just a handful of leaks left)
...
and to use the simplified cleanup registration API.
llvm-svn: 128059
2011-03-22 01:15:24 +00:00
Ted Kremenek
288fb9dc6e
Remove crash recovery cleanups from TypeLocBuilder. They were a bit error prone, only hit in rare cases.
...
llvm-svn: 128058
2011-03-22 01:15:21 +00:00
Ted Kremenek
022dbc1672
Simplify crash recovery cleanup registration.
...
llvm-svn: 128057
2011-03-22 01:15:19 +00:00
Ted Kremenek
4c9d46b310
Migrate 'PrettySTackTraceParserEntry' object out of Parser, and have it constructed within ParseAST. This avoids double crashes
...
during crash recovery.
llvm-svn: 128056
2011-03-22 01:15:17 +00:00
Ted Kremenek
b41dde505c
Rework CrashRecoveryContextCleanup to provide a simpler way to create cleanup objects, and provide a new cleanup for
...
decrementing reference counts of objects with intrusive reference counts.
llvm-svn: 128055
2011-03-22 01:15:10 +00:00
Ted Kremenek
c2a4bb2583
Relax access control on 'Release' method of RefCountedBase.
...
llvm-svn: 128054
2011-03-22 01:15:07 +00:00
Greg Clayton
fc36f79170
Abtracted the innards of lldb-core away from the SB interface. There was some
...
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
2011-03-22 01:14:58 +00:00
Jim Grosbach
348a548381
Hook up the MCJIT to the RuntimeDyld library.
...
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
2011-03-22 01:06:42 +00:00
Jakob Stoklund Olesen
c6f4af028d
Clear map after use.
...
This is likely to fix the segfault in llvm-gcc-x86_64-darwin10-cross-mingw32.
llvm-svn: 128051
2011-03-22 01:03:24 +00:00
Ken Dyck
a1a4ae34d0
Change return value of ComputeNonVirtualBaseClassOffset() to CharUnits. No
...
change in functionality intended.
llvm-svn: 128050
2011-03-22 00:53:26 +00:00
Jim Grosbach
4df86ce359
Initialize HasError.
...
llvm-svn: 128049
2011-03-22 00:42:19 +00:00
Matt Beaumont-Gay
bfd23e4009
Avoid -Wunused-variable in -asserts builds
...
llvm-svn: 128048
2011-03-22 00:37:28 +00:00
Ken Dyck
664569965f
Eliminate some literal '8's in FillInNullDataMemberPointers() by switching
...
to CharUnits. No change in functionality intended.
llvm-svn: 128047
2011-03-22 00:24:31 +00:00
Jakob Stoklund Olesen
9c057ee440
Dont emit 'DBG_VALUE %noreg, ...' to terminate user variable ranges.
...
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
2011-03-22 00:21:41 +00:00
Matt Beaumont-Gay
a282bc6a00
Output to tempfile
...
llvm-svn: 128043
2011-03-22 00:19:31 +00:00
Dan Gohman
c1783b31a4
Fix fast-isel address mode folding to avoid folding instructions
...
outside of the current basic block. This fixes PR9500, rdar://9156159.
llvm-svn: 128041
2011-03-22 00:04:35 +00:00
Johnny Chen
9d46337511
Add options to allow for specifying an option string when spawning gdb and 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
2011-03-21 23:44:44 +00:00
Daniel Dunbar
1730ab0b94
compiler-rt/clang/cc_kext: Update for functions which we have sinced acquired
...
implementations for.
llvm-svn: 128039
2011-03-21 23:31:09 +00:00
Daniel Dunbar
f3798a397d
compiler-rt: Split subdf3 and subsf3 out of add implementations, for
...
consistency.
llvm-svn: 128038
2011-03-21 23:30:19 +00:00
Owen Anderson
9746286bec
Add support for Thumb interworking addresses for symbol offsets that get constant folded very early.
...
This fixes SPASS with -integrated-as. <rdar://problem/9165399>
llvm-svn: 128037
2011-03-21 23:13:43 +00:00
Devang Patel
dddce99f02
Try again to make this test darwin only.
...
llvm-svn: 128036
2011-03-21 23:11:08 +00:00
Oscar Fuentes
e4840e2918
Build the new RuntimeDyld library.
...
llvm-svn: 128035
2011-03-21 23:07:53 +00:00
Johnny Chen
31d446aa5c
Fix a typo in the message string.
...
llvm-svn: 128034
2011-03-21 23:01:34 +00:00
Oscar Fuentes
623b5dae21
Removed workaround for unspecified build problem on MinGW.
...
Tested that MinGW/MSYS builds fine without that.
llvm-svn: 128033
2011-03-21 22:53:51 +00:00
Jim Grosbach
f016b0a359
Library-ize the dyld components of llvm-rtdyld.
...
Move the dynamic linking functionality of the llvm-rtdyld program into an
ExecutionEngine support library. Update llvm-rtdyld to just load an object
file into memory, use the library to process it, then run the _main()
function, if one is found.
llvm-svn: 128031
2011-03-21 22:15:52 +00:00
Devang Patel
17bbd7f495
Simplify.
...
llvm-svn: 128030
2011-03-21 22:04:45 +00:00
Bob Wilson
87ba1d329a
Another cortex-m0 patch from James Orr.
...
llvm-svn: 128029
2011-03-21 21:55:25 +00:00
Nick Lewycky
f0469af63e
Fix INT_MIN gotcha pointed out by Eli Friedman.
...
llvm-svn: 128028
2011-03-21 21:40:32 +00:00
Devang Patel
e351f20061
Force x86_64.
...
llvm-svn: 128027
2011-03-21 21:37:52 +00:00