| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
- Fixed a crash when the executable module
couldn't be found.
- Fixed a problem that made it impossible
to attach to processes in the simulator
using the SBTarget::Attach.
llvm-svn: 166355
|
| |
|
|
| |
llvm-svn: 166354
|
| |
|
|
| |
llvm-svn: 166353
|
| |
|
|
| |
llvm-svn: 166352
|
| |
|
|
|
|
|
|
|
| |
For example:
for (i=0; i<n; i++)
sum += A[i] + B[i] + i;
llvm-svn: 166351
|
| |
|
|
|
|
|
|
| |
(The change at Clang side was committed in r166345)
2. Cosmetic change in order to conform to coding standards.
llvm-svn: 166350
|
| |
|
|
| |
llvm-svn: 166349
|
| |
|
|
| |
llvm-svn: 166348
|
| |
|
|
| |
llvm-svn: 166347
|
| |
|
|
|
|
|
|
|
|
| |
Added commands to the KDP plug-in that allow sending raw commands through the KDP protocol. You specify a command byte and a payload as ASCII hex bytes, and the packet is created with a valid header/sequenceID/length and sent. The command responds with a raw ASCII hex string that contains all bytes in the reply including the header.
An example of sending a read register packet for the GPR on x86_64:
(lldb) process plugin packet send --command 0x07 --payload 0100000004000000
llvm-svn: 166346
|
| |
|
|
| |
llvm-svn: 166345
|
| |
|
|
| |
llvm-svn: 166344
|
| |
|
|
| |
llvm-svn: 166343
|
| |
|
|
|
|
|
| |
Currently, it is enabled only if option "enable-mips-tail-calls" is given and
all of the callee's arguments are passed in registers.
llvm-svn: 166342
|
| |
|
|
| |
llvm-svn: 166341
|
| |
|
|
| |
llvm-svn: 166340
|
| |
|
|
| |
llvm-svn: 166339
|
| |
|
|
| |
llvm-svn: 166338
|
| |
|
|
| |
llvm-svn: 166337
|
| |
|
|
| |
llvm-svn: 166318
|
| |
|
|
| |
llvm-svn: 166317
|
| |
|
|
|
|
|
| |
a memory operand. Retain this information and then add the sizing directives
to the IR. This allows the backend to do proper instruction selection.
llvm-svn: 166316
|
| |
|
|
|
|
|
|
|
| |
"load-kexts" instead of "disable-kext-loading" since the value is a boolean. This was requested by the person who requested the feature. It now defaults to true:
(lldb) settings show plugin.dynamic-loader.darwin-kernel.load-kexts
plugin.dynamic-loader.darwin-kernel.load-kexts (boolean) = true
llvm-svn: 166315
|
| |
|
|
| |
llvm-svn: 166314
|
| |
|
|
|
|
|
|
| |
input is zero.
Fixes PR13028.
llvm-svn: 166313
|
| |
|
|
| |
llvm-svn: 166312
|
| |
|
|
|
|
| |
Grzegorz Jablonski.
llvm-svn: 166311
|
| |
|
|
| |
llvm-svn: 166310
|
| |
|
|
|
|
| |
--> DataLayout changes.
llvm-svn: 166309
|
| |
|
|
| |
llvm-svn: 166308
|
| |
|
|
|
|
| |
(vg_leak).
llvm-svn: 166306
|
| |
|
|
|
|
|
|
| |
- The XTARGET feature (inherited from old DG tests) was just confusing (and
barely ever used). The same effect can now be achieved with a combination of
the more useful REQUIRES and XFAIL.
llvm-svn: 166305
|
| |
|
|
| |
llvm-svn: 166304
|
| |
|
|
|
|
| |
- These can be used with the XFAIL options.
llvm-svn: 166303
|
| |
|
|
|
|
| |
- Also, lit is going to get a valgrind feature, instead.
llvm-svn: 166302
|
| |
|
|
|
|
| |
- Also, lit is going to get a valgrind feature, instead.
llvm-svn: 166301
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__builtin_debugtrap()
which is supposed to consistently raise SIGTRAP across all systems. In contrast,
__builtin_trap() behave differently on different systems. e.g. it raises SIGTRAP on ARM, and
SIGILL on X86. The purpose of __builtin_debugtrap() is to consistently provide "trap"
functionality, in the mean time preserve the compatibility with on gcc on __builtin_trap().
The X86 backend is already able to handle debugtrap(). This patch is to:
1) make front-end recognize "__builtin_debugtrap()" (emboddied in the one-line change to Clang).
2) In DAG legalization phase, by default, "debugtrap" will be replaced with "trap", which
make the __builtin_debugtrap() "available" to all existing ports without the hassle of
changing their code.
3) If trap-function is specified (via -trap-func=xyz to llc), both __builtin_debugtrap() and
__builtin_trap() will be expanded into the function call of the specified trap function.
This behavior may need change in the future.
The provided testing-case is to make sure 2) and 3) are working for ARM port, and we
already have a testing case for x86.
llvm-svn: 166300
|
| |
|
|
|
|
|
|
| |
- We create two TargetLoweringInfo instances for different pass managers, and
they weren't consistent (the one for codegen didn't have the right info). I'm
not sure this mattered anywhere in practice.
llvm-svn: 166299
|
| |
|
|
| |
llvm-svn: 166298
|
| |
|
|
|
|
| |
Fix one gdb example that had an "(lldb)" prompt in the lldb/gdb page.
llvm-svn: 166297
|
| |
|
|
|
|
| |
Suggestion from Matt Beaumont-Gay reviewing r165283.
llvm-svn: 166296
|
| |
|
|
|
|
| |
anyone starts using the settings for this plug-in.
llvm-svn: 166295
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
settings instead of having settings added to existing ones. In particular "target.disable-kext-loading" was added to "target" where it should actually be specific to the the dynamic loader plugin. Now the plug-in manager has the ability to create settings at the root level starting with "plugin". Each plug-in type can add new sub dictionaries, and then each plug-in can register a setting dictionary under its own short name. For example the DynamicLoaderDarwinKernel plug-in now registers a setting dictionary at:
plugin
dynamic-loader
macosx-kernel
(bool) disable-kext-loading
To settings can be set using:
(lldb) settings set plugin.dynamic-loader.macosx-kernel.disable-kext-loading true
I currently only hooked up the DynamicLoader plug-ins, but the code is very easy to duplicate when and if we need settings for other plug-ins.
llvm-svn: 166294
|
| |
|
|
| |
llvm-svn: 166293
|
| |
|
|
| |
llvm-svn: 166292
|
| |
|
|
|
|
|
| |
This can invalidate the iterators leading to use after frees and crashes.
Fixes PR12536.
llvm-svn: 166291
|
| |
|
|
| |
llvm-svn: 166290
|
| |
|
|
|
|
| |
odd things if this is missing.
llvm-svn: 166289
|
| |
|
|
|
|
|
|
|
| |
- If INSERT_VECTOR_ELT is supported (above SSE2, either by custom
sequence of legal insn), transform BUILD_VECTOR into SHUFFLE +
INSERT_VECTOR_ELT if most of elements could be built from SHUFFLE with few
(so far 1) elements being inserted.
llvm-svn: 166288
|
| |
|
|
| |
llvm-svn: 166287
|