- Oct 20, 2012
-
-
Michael J. Spencer authored
llvm-svn: 166347
-
rdar://problem/12491387Greg Clayton authored
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
-
Shuxin Yang authored
llvm-svn: 166345
-
Akira Hatanaka authored
llvm-svn: 166344
-
Eric Christopher authored
llvm-svn: 166343
-
Akira Hatanaka authored
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
-
Akira Hatanaka authored
llvm-svn: 166341
-
Nadav Rotem authored
llvm-svn: 166340
-
Akira Hatanaka authored
llvm-svn: 166339
-
Akira Hatanaka authored
llvm-svn: 166338
-
Akira Hatanaka authored
llvm-svn: 166337
-
Akira Hatanaka authored
llvm-svn: 166318
-
Chad Rosier authored
llvm-svn: 166317
-
Chad Rosier authored
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
-
Greg Clayton authored
Change the name of the variable used to detect if we are loading kexts to "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
-
Michael Liao authored
llvm-svn: 166314
-
Benjamin Kramer authored
Fixes PR13028. llvm-svn: 166313
-
Chad Rosier authored
llvm-svn: 166312
-
Eli Friedman authored
llvm-svn: 166311
-
Chad Rosier authored
llvm-svn: 166310
-
Micah Villmow authored
Fix a build error for ocaml bindings that was introduced with the TargetData --> DataLayout changes. llvm-svn: 166309
-
Chad Rosier authored
llvm-svn: 166308
-
Daniel Dunbar authored
(vg_leak). llvm-svn: 166306
-
Daniel Dunbar authored
- 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
-
Daniel Dunbar authored
llvm-svn: 166304
-
Daniel Dunbar authored
- These can be used with the XFAIL options. llvm-svn: 166303
-
Daniel Dunbar authored
- Also, lit is going to get a valgrind feature, instead. llvm-svn: 166302
-
Daniel Dunbar authored
- Also, lit is going to get a valgrind feature, instead. llvm-svn: 166301
-
radar://8426430Shuxin Yang authored
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 -
Daniel Dunbar authored
- 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
-
Shuxin Yang authored
llvm-svn: 166298
-
Jason Molenda authored
Fix one gdb example that had an "(lldb)" prompt in the lldb/gdb page. llvm-svn: 166297
-
David Blaikie authored
Suggestion from Matt Beaumont-Gay reviewing r165283. llvm-svn: 166296
-
Greg Clayton authored
Rename "macosx-kernel" to "darwin-kernel" to match the filenames before anyone starts using the settings for this plug-in. llvm-svn: 166295
-
Greg Clayton authored
Added the infrastructure necessary for plug-ins to be able to add their own 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 -
Chad Rosier authored
llvm-svn: 166293
-
Chad Rosier authored
llvm-svn: 166292
-
Benjamin Kramer authored
This can invalidate the iterators leading to use after frees and crashes. Fixes PR12536. llvm-svn: 166291
-
Daniel Dunbar authored
llvm-svn: 166290
-
Daniel Dunbar authored
odd things if this is missing. llvm-svn: 166289
-