- May 16, 2011
-
-
Howard Hinnant authored
Spit 5th bullet __invoke into function pointers and everything else because result_of doesn't deal with function pointers. llvm-svn: 131409
-
Howard Hinnant authored
llvm-svn: 131408
-
Howard Hinnant authored
llvm-svn: 131407
-
Rafael Espindola authored
("T is 1 if the target symbol S has type STT_FUNC and the symbol addresses a Thumb instruction ;it is 0 otherwise." from "ELF for the ARM Architecture" 4.7.1.2) Patch by Koan-Sin Tan! llvm-svn: 131406
-
Rafael Espindola authored
llvm-svn: 131405
-
Joerg Sonnenberger authored
Preserve the original triple in the NetBSD toolchain when using -m32 or -m64 and the resulting effective target is different from the triple it started with. This allows -m32 to use the same assembler/linking in cross-compiling mode and avoids confusion about passing down target specific flags in that case like --32. llvm-svn: 131404
-
Rafael Espindola authored
llvm-svn: 131403
-
Zhongxing Xu authored
llvm-svn: 131402
-
Rafael Espindola authored
131365 caused PR9927. llvm-svn: 131401
-
Anders Carlsson authored
optimization. Make sure to require a vtable when trying to get the address of a VTT, otherwise we would never end up emitting the VTT. llvm-svn: 131400
-
Rafael Espindola authored
corrupted when setjmp returns again. llvm-svn: 131399
-
Greg Clayton authored
If we are asked to restore all register values, we need to fall back to restoring each register one by one. llvm-svn: 131398
-
Greg Clayton authored
packets in GDB remote. Also fixed a compiler warning for an unhandled case for a switch. llvm-svn: 131397
-
John McCall authored
llvm-svn: 131396
-
John McCall authored
operators; their semantics are guaranteed by the language. If someone wants to argue that freestanding compiles shouldn't recognize this, I might be convinceable. llvm-svn: 131395
-
Greg Clayton authored
Correctly handle invalid 32-bit mmap fail return value in ProcessGDBRemote. llvm-svn: 131394
-
Greg Clayton authored
Prior to this fix we would often call SendPacketAndWaitForResponse() which returns the number of bytes in the response. The UNSUPPORTED response in the GDB remote protocol is zero bytes and we were checking for it inside an if statement: if (SendPacketAndWaitForResponse(...)) { if (response.IsUnsupportedResponse()) { // UNSUPPORTED... // This will never happen... } } We now handle is properly as: if (SendPacketAndWaitForResponse(...)) { } else { // UNSUPPORTED... } llvm-svn: 131393
-
Greg Clayton authored
ABIMacOSX_arm plugin. Modified darwin-debug to print out the exectuable, working directory and arguments a bit differently. llvm-svn: 131392
-
Sean Callanan authored
changes. llvm-svn: 131391
-
- May 15, 2011
-
-
Alexis Hunt authored
build. llvm-svn: 131390
-
Greg Clayton authored
definitions and names. llvm-svn: 131387
-
John McCall authored
placement allocation or deallocation functions. These functions cannot be replaced by the user and are exempt from the normal requirements on allocation functions (e.g. that they must return unaliased memory). llvm-svn: 131386
-
Anders Carlsson authored
llvm-svn: 131385
-
Charles Davis authored
llvm-svn: 131384
-
Douglas Gregor authored
nested-name-specifier, re-evaluate the nested-name-specifier as if we were entering that context (which we did!), so that we'll resolve a template-id to a particular class template partial specialization. Fixes PR9913. llvm-svn: 131383
-
Charles Davis authored
information. llvm-svn: 131382
-
Charles Davis authored
llvm-svn: 131381
-
Charles Davis authored
llvm-svn: 131380
-
Nick Lewycky authored
llvm-svn: 131379
-
John McCall authored
It can be larger, it can be smaller, it can be signed, whatever. Handle all the crazy cases with grace and spirit. llvm-svn: 131378
-
Argyrios Kyrtzidis authored
llvm-svn: 131377
-
Greg Clayton authored
the appropriate registers for arm and x86_64. The register names for the arguments that are the size of a pointer or less are all named "arg1", "arg2", etc. This allows you to read these registers by name: (lldb) register read arg1 arg2 arg3 ... You can also now specify you want to see alternate register names when executing the read register command: (lldb) register read --alternate (lldb) register read -A llvm-svn: 131376
-
John McCall authored
hasAggregateLLVMType. llvm-svn: 131375
-
John McCall authored
llvm-svn: 131374
-
John McCall authored
types. Also, cache a translation of 'void' in CGM and provide a ptrdiff_t alias. No functionality change. llvm-svn: 131373
-
Anders Carlsson authored
llvm-svn: 131372
-
Greg Clayton authored
for lldb-core. llvm-svn: 131371
-
Greg Clayton authored
thread plan. In order to get the return value, you can call: void ThreadPlanCallFunction::RequestReturnValue (lldb::ValueSP &return_value_sp); This registers a shared pointer to a return value that will get filled in if everything goes well. After the thread plan is run the return value will be extracted for you. Added an ifdef to be able to switch between the LLVM MCJIT and the standand JIT. We currently have the standard JIT selected because we have some work to do to get the MCJIT fuctioning properly. Added the ability to call functions with 6 argument in the x86_64 ABI. Added the ability for GDBRemoteCommunicationClient to detect if the allocate and deallocate memory packets are supported and to not call allocate memory ("_M") or deallocate ("_m") if we find they aren't supported. Modified the ProcessGDBRemote::DoAllocateMemory(...) and ProcessGDBRemote::DoDeallocateMemory(...) to be able to deal with the allocate and deallocate memory packets not being supported. If they are not supported, ProcessGDBRemote will switch to calling "mmap" and "munmap" to allocate and deallocate memory instead using our trivial function call support. Modified the "void ProcessGDBRemote::DidLaunchOrAttach()" to correctly ignore the qHostInfo triple information if any was specified in the target. Currently if the target only specifies an architecture when creating the target: (lldb) target create --arch i386 a.out Then the vendor, os and environemnt will be adopted by the target. If the target was created with any triple that specifies more than the arch: (lldb) target create --arch i386-unknown-unknown a.out Then the target will maintain its triple and not adopt any new values. This can be used to help force bare board debugging where the dynamic loader for static files will get used and users can then use "target modules load ..." to set addressses for any files that are desired. Added back some convenience functions to the lldb_private::RegisterContext class for writing registers with unsigned values. Also made all RegisterContext constructors explicit to make sure we know when an integer is being converted to a RegisterValue. llvm-svn: 131370
-
Argyrios Kyrtzidis authored
Also follow gcc in that arrays of elements with zero size are encoded as arrays with zero elements. llvm-svn: 131369
-
Anders Carlsson authored
that the destructor body is trivial and that all member variables also have either trivial destructors or trivial destructor bodies, we don't need to initialize the vtable pointers since no virtual member functions will be called on the destructor. Fixes PR9181. llvm-svn: 131368
-