Greg Clayton
ea3b0ae8ed
Fixed a copyright header.
...
llvm-svn: 108544
2010-07-16 18:28:27 +00:00
Benjamin Kramer
1ee0d4f7f3
Fix constructor initialization order. Patch by Bill Lynch.
...
llvm-svn: 108524
2010-07-16 12:32:33 +00:00
Sean Callanan
ea22d4288a
Wrote the code that looks at a context to see
...
if the variables in that context allow a particular
JIT compiled expression to run in that context.
llvm-svn: 108485
2010-07-16 00:09:46 +00:00
Sean Callanan
23a3027a67
Oops, didn't define AreTypesSame correctly.
...
llvm-svn: 108483
2010-07-16 00:00:27 +00:00
Sean Callanan
4dcca262f4
Added a function to test whether two types are
...
the same.
llvm-svn: 108467
2010-07-15 22:30:52 +00:00
Sean Callanan
7618f4ebaf
Fixes to the IR generator in the expression parser
...
to correctly unfold constant-folded global variables.
Also added code to JIT the expression. Simple
expressions are now JIT compiled successfully.
llvm-svn: 108380
2010-07-14 23:40:29 +00:00
Jim Ingham
a3241c1bf5
Don't call PrepareForResume on threads that aren't going to get a chance to run this time around.
...
llvm-svn: 108312
2010-07-14 02:27:20 +00:00
Jim Ingham
9d790c5d12
Stepping through a trampoline should do "stop others" unless All Threads is requested.
...
llvm-svn: 108311
2010-07-14 02:25:06 +00:00
Greg Clayton
ec00f12a22
Fixed Xcode project to deal with recent ELF plug-in changes.
...
llvm-svn: 108300
2010-07-14 00:20:31 +00:00
Greg Clayton
b132097b45
I enabled some extra warnings for hidden local variables and for hidden
...
virtual functions and caught some things and did some general code cleanup.
llvm-svn: 108299
2010-07-14 00:18:15 +00:00
Stephen Wilson
11e8f3ba37
Remove our local ELF definitions and rely on llvm/Support/ELF.h instead.
...
llvm-svn: 108293
2010-07-13 23:09:42 +00:00
Stephen Wilson
f325ba9d45
Combine 32 and 64 bit ELF readers.
...
This patch provides a generic ELF reader plugin to handle both 32 and 64 bit
formats.
llvm-svn: 108292
2010-07-13 23:07:23 +00:00
Greg Clayton
b6f75dfd96
Removed unused variable "log".
...
Fixed the llvm build for Mac OS X builds to look in llvm/lib/Release+Asserts
output directory for all configurations (Debug, Release, BuildAndIntegration).
llvm-svn: 108289
2010-07-13 22:26:45 +00:00
Greg Clayton
f6cc9dde46
Updated to latest llvm from July 13th, 2010 at 13:00.
...
llvm-svn: 108285
2010-07-13 22:06:06 +00:00
Sean Callanan
549c9f7f9a
"expr -i" now performs the required transforms to
...
prepare the IR for JIT compilation. We still need
to do the JIT compilation and move the arguments
in/out of target memory.
llvm-svn: 108279
2010-07-13 21:41:46 +00:00
Greg Clayton
d764ecc0de
Removed Xcode project files that aren't needed right now.
...
llvm-svn: 108271
2010-07-13 20:57:41 +00:00
Greg Clayton
c8e11e17aa
Patch from Jean-Daniel Dupas:
...
Makefile patch to explicitly use PROJ_SRC_DIR when required. It fixes
build when obj dir is not source dir.
I also fixed a build warning in ClangResultSynthesizer.cpp.
llvm-svn: 108210
2010-07-12 23:14:00 +00:00
Greg Clayton
0428b7dcc8
Don't build the SymbolVendor/MacOSX when not building on Darwin.
...
llvm-svn: 108208
2010-07-12 23:11:00 +00:00
Jim Ingham
a56c800607
Add an "Avoid Frames matching this regular expression" to ThreadPlanStepInRange.
...
This relies on ThreadPlanStepOut working correctly, which it doesn't currently for Inlined functions, so this feature is only partially useful until we take care of Stepping Out of inlined functions.
Added an option to "thread step-in" to set the avoid regular expression. This is mostly for testing, once the Setting code is redone, we'll move this to a general setting.
llvm-svn: 108036
2010-07-10 02:27:39 +00:00
Jim Ingham
35b21fef65
Properly set the PlanKind for the ThreadPlanStepRange derived classes.
...
llvm-svn: 108035
2010-07-10 02:23:31 +00:00
Eli Friedman
07a2437a91
A few more misc warning fixes.
...
llvm-svn: 108030
2010-07-09 23:04:08 +00:00
Eli Friedman
8878f87fb6
Misc warning fixes.
...
llvm-svn: 108029
2010-07-09 22:53:18 +00:00
Eli Friedman
2066e3ed47
Comment out test targets; they don't work on Linux because test/Makefile uses
...
a bunch of BSD-isms.
llvm-svn: 108027
2010-07-09 22:36:15 +00:00
Eli Friedman
098039e4f0
Make current Makefiles work on Linux (at least, they work for me). Please
...
tell me if this breaks anything.
llvm-svn: 108025
2010-07-09 22:11:43 +00:00
Eli Friedman
78ed6b7469
Remove unnecessary directory (accidentally committed with r108009).
...
llvm-svn: 108024
2010-07-09 22:03:05 +00:00
Greg Clayton
c982c768d2
Merged Eli Friedman's linux build changes where he added Makefile files that
...
enabled LLVM make style building and made this compile LLDB on Mac OS X. We
can now iterate on this to make the build work on both linux and macosx.
llvm-svn: 108009
2010-07-09 20:39:50 +00:00
Johnny Chen
364b0e72d1
Add a test case (incomplete) to check that settings and readings of program
...
variabes work.
llvm-svn: 107914
2010-07-08 21:38:07 +00:00
Sean Callanan
246549c50b
Moved NDEBUG from a global setting to a specific
...
hack.
llvm-svn: 107894
2010-07-08 18:16:16 +00:00
Sean Callanan
6015095608
Updated to build against the latest LLVM release.
...
Also fixed our build to define NDEBUG; code that
uses LLVM headers without NDEBUG is
binary-incompatible with libraries built with
NDEBUG.
llvm-svn: 107853
2010-07-08 02:13:18 +00:00
Johnny Chen
acfbeff17e
Test that debug symbols have the correct order as specified by the order file.
...
llvm-svn: 107844
2010-07-08 00:17:29 +00:00
Johnny Chen
529728e82a
Fixed typos in the comments.
...
llvm-svn: 107829
2010-07-07 22:49:43 +00:00
Greg Clayton
51dc188216
64 bit ELF support from Stephen Wilson.
...
llvm-svn: 107817
2010-07-07 21:52:01 +00:00
Johnny Chen
41a3c9a5f8
Test that breakpoint by symbol name works correctly dlopen'ing a dynamic lib.
...
llvm-svn: 107812
2010-07-07 21:10:55 +00:00
Greg Clayton
a624358728
Added some comments to clarify where "init_lldb" comes from.
...
llvm-svn: 107801
2010-07-07 18:40:03 +00:00
Greg Clayton
69b518f6ef
typedef fixups, patch from Jean-Daniel Dupas.
...
llvm-svn: 107794
2010-07-07 17:07:17 +00:00
Greg Clayton
72db59664f
Fixed "#endif"s followed by non comments, patch from Jean-Daniel Dupas.
...
llvm-svn: 107793
2010-07-07 17:06:20 +00:00
Benjamin Kramer
59d9a5c209
Declare LLDBVersionNumber extern "C" to make sure clang++ mangles it properly. Patch from Jean-Daniel Dupas!
...
llvm-svn: 107765
2010-07-07 09:33:41 +00:00
Benjamin Kramer
3f3ff5cc87
Fix build for newer versions of GCC that don't include cstring implicitly. Based on a patch by Pawel Wodnicki!
...
llvm-svn: 107763
2010-07-07 09:19:50 +00:00
Jim Ingham
6f80bc5602
Remove includes for removed files...
...
llvm-svn: 107753
2010-07-07 03:39:43 +00:00
Jim Ingham
ebc09c36e9
Fix GetRepeatCommand so it works with multi-word commands.
...
Move the "source", "alias", and "unalias" commands to "commands *".
Move "source-file" to "source list".
Added a "source info" command but it isn't implemented yet.
llvm-svn: 107751
2010-07-07 03:36:20 +00:00
Jim Ingham
1308bb2791
Added a "GetRepeatCommand" to the command object. The Interpreter uses this
...
instead of the last history item to provide a command for the "empty" command.
Use this in the source-file command to make <RETURN> continue the listing rather
than relist the first listing...
llvm-svn: 107736
2010-07-06 23:48:33 +00:00
Johnny Chen
51991b549b
Enable a test clause since rdar://problem/8163668 is fixed by http://llvm.org/viewvc/llvm-project?rev=107729&view=rev .
...
llvm-svn: 107733
2010-07-06 23:41:17 +00:00
Greg Clayton
364f1167cb
Fixed an issue with looking up line table entries by address where internal
...
line table entries that were termination entries (ones that define the bounds
of the previous entry) could be found when looking up line table entries.
We now properly skip these termination entries and check the next entry to
try for a match.
llvm-svn: 107729
2010-07-06 23:34:08 +00:00
Johnny Chen
f031b71f7e
if -1 => evaluates to True
...
oops!
llvm-svn: 107724
2010-07-06 23:26:16 +00:00
Johnny Chen
0e38f42f0a
Test that breakpoint works correctly in the presence of dead-code stripping.
...
llvm-svn: 107719
2010-07-06 22:52:00 +00:00
Jim Ingham
279a6c2669
Hide the logic for command resolution for commands, aliases & user commands behind a single
...
interface so everybody does it the same way. Add an "exact" lookup for internal uses.
Fix up a few little cases where we weren't reporting command lookup errors correctly.
Added "b" as an alias for "breakpoint" so it doesn't collide with "bt".
llvm-svn: 107718
2010-07-06 22:46:59 +00:00
Jason Molenda
ea84e76479
Switch over to using llvm's dwarf constants file.
...
llvm-svn: 107716
2010-07-06 22:38:03 +00:00
Greg Clayton
6b6742b08e
Remove extraneous semicolon after if condition (from Jean-Daniel Dupas).
...
llvm-svn: 107694
2010-07-06 20:30:35 +00:00
Greg Clayton
5f067820ba
Avoid duplicate names (something else that clang++ really doesn't like) in
...
function prototype (from Jean-Daniel Dupas).
llvm-svn: 107693
2010-07-06 20:29:25 +00:00
Greg Clayton
3afe8a9f1d
Applied pid.patch from Jean-Daniel Dupas.
...
llvm-svn: 107692
2010-07-06 20:27:00 +00:00