Johnny Chen
6b092e821b
The test function to determine whether we have reached the end of the list was
...
too complex in the test case. We can just simply test that the SBValue object
is a valid object and it does not correspond to a null pointer in order to say
that EOL has not been reached.
Modify the test case and the lldb.py docstring to have a more compact test
function.
llvm-svn: 136123
2011-07-26 20:20:13 +00:00
Johnny Chen
11346d3136
lldb.swig (the SWIG input file) has become too large. Modularize a bit by introducing two files
...
to be included from lldb.swig: python-typemaps.swig and python-wrapper.swig.
llvm-svn: 136117
2011-07-26 19:09:03 +00:00
Evan Cheng
e64f0e52ea
Fix llvm-mc target detection code to match llc.
...
llvm-svn: 136115
2011-07-26 19:02:16 +00:00
Eric Christopher
320db01d13
Migrate wchar-const.c with fixes and FileCheck from llvm/test/FrontendC.
...
llvm-svn: 136114
2011-07-26 18:39:16 +00:00
Kaelyn Uhrain
c45dcd2594
Revert r136046 while fixing handling of e.g. &foo[index_one_past_size]
...
llvm-svn: 136113
2011-07-26 18:36:36 +00:00
Andrew Trick
e69a19569b
Updating stale documentation on regalloc modes.
...
llvm-svn: 136112
2011-07-26 18:31:49 +00:00
Bill Wendling
3fe5d68563
Use the correct for for the version. It's little endian and my brain is
...
obviously big endian. :-)
PR10502
llvm-svn: 136111
2011-07-26 18:31:41 +00:00
Jim Grosbach
edaa35ae6f
ARM diagnostics for ldrexd/stredx out of order paired register operands.
...
llvm-svn: 136110
2011-07-26 18:25:39 +00:00
Bruno Cardoso Lopes
53bc328071
Remove now unused patterns. 0 insertions(+), 98 deletions(-)
...
llvm-svn: 136109
2011-07-26 18:22:39 +00:00
Bruno Cardoso Lopes
2e8f3c6f25
Cleanup old matching for PUNPCK* variants
...
llvm-svn: 136108
2011-07-26 18:22:27 +00:00
Jonathan D. Turner
b2b0823d00
This patch extends the previous patch by starting to incorporate more functionality, like lookup-by-name and exporting lookup tables, into the module manager. Methods now have documentation. A few more functions have been switched over to the new iterator style and away from manual/explicit iteration. Ultimately we want to move away from name lookup here, as symlinks make filenames not a safe unique value, but we use it here as a stopgap before better measures are in place (namely instead using FileEntry* from a global FileManager).
...
llvm-svn: 136107
2011-07-26 18:21:30 +00:00
Devang Patel
613958c82c
While extracting lexical scopes from machine instruction stream, work on one machine basic block at a time.
...
llvm-svn: 136106
2011-07-26 18:09:53 +00:00
Jim Grosbach
4e895470bd
ARM parsing and encoding tests for load/store exclusive instructions.
...
llvm-svn: 136105
2011-07-26 18:07:21 +00:00
Fariborz Jahanian
6507135e12
Provide fixit for static use of objective-c type
...
in few more places and in each instance, fix up
the type to the expected type. // rdar://9603056
llvm-svn: 136103
2011-07-26 17:58:54 +00:00
Jim Grosbach
cb31193670
ARM fix for LDREX source register encoding.
...
rdar://9842203
llvm-svn: 136102
2011-07-26 17:44:46 +00:00
Andrew Trick
3ca3f98c2c
SCEV: Added a data structure for storing not-taken info per loop
...
exit. Added an interfaces for querying either the loop's exact/max
backedge taken count or a specific loop exit's not-taken count.
llvm-svn: 136100
2011-07-26 17:19:55 +00:00
Duncan Sands
6d473aa378
Strip trailing whitespace.
...
llvm-svn: 136099
2011-07-26 17:19:30 +00:00
Jim Grosbach
15e8d74231
ARM assembly parsing and encoding for SWP[B] instructions.
...
llvm-svn: 136098
2011-07-26 17:15:11 +00:00
Jim Grosbach
dbc1c5479e
ARM SWP instructions store, too, not just load.
...
llvm-svn: 136096
2011-07-26 17:11:05 +00:00
Jim Grosbach
eab1c0d09c
Clean up the ARM asm parser a bit.
...
No intendeded functional change. Just cleaning up a bit to make things more
self-consistent in layout and style.
llvm-svn: 136095
2011-07-26 17:10:22 +00:00
Benjamin Kramer
632500cb85
Eliminate a bunch of temporary strings.
...
llvm-svn: 136092
2011-07-26 16:59:25 +00:00
Jim Grosbach
ddeda0fad3
ARM fix asm parsing range check for [0,31] immediates.
...
llvm-svn: 136091
2011-07-26 16:44:05 +00:00
Jim Grosbach
f16378479b
ARM parsing and encoding for SVC instruction.
...
llvm-svn: 136090
2011-07-26 16:24:27 +00:00
Jim Grosbach
2c374c4fb6
ARM assembly parsing and encoding tests for SUB instruction.
...
llvm-svn: 136089
2011-07-26 15:44:05 +00:00
Jim Grosbach
dc45f00cf5
Update ARM STM tests. Fix check: prefix for diagnostic tests.
...
llvm-svn: 136088
2011-07-26 15:41:22 +00:00
Duncan Sands
fe44f67d43
Teach the Triple class about kfreebsd (FreeBSD kernel with
...
a GNU userspace).
llvm-svn: 136085
2011-07-26 15:30:04 +00:00
Douglas Gregor
ea777403f9
Add new libclang API, clang_codeCompleteGetObjCSelector(), which
...
provides the partial Objective-C selector used in a code
completion. From Connor Wakamo!
llvm-svn: 136084
2011-07-26 15:24:30 +00:00
Rafael Espindola
b84dc6bca8
Add LLVMAddAlwaysInlinerPass to the C API.
...
llvm-svn: 136083
2011-07-26 15:23:23 +00:00
Rafael Espindola
be2fe29f9c
LLVM 3.0 is here, remove old do nothing method.
...
llvm-svn: 136082
2011-07-26 15:17:32 +00:00
Douglas Gregor
72912fb9a4
When we decide not to rebuild an instantiated C++ 'new' expression
...
that allocates an array of objects with a non-trivial destructor, be
sure to mark the destructor is "used". Fixes PR10480 /
<rdar://problem/9834317>.
llvm-svn: 136081
2011-07-26 15:11:03 +00:00
Duncan Sands
3ac1836540
SrcDef is only written and never read. Remove it.
...
llvm-svn: 136080
2011-07-26 15:05:06 +00:00
Duncan Sands
c1c92719a4
Add helper function for getting true/false constants in a uniform
...
way for i1 and vector of i1 types. Use these to make some code
more self-documenting.
llvm-svn: 136079
2011-07-26 15:03:53 +00:00
Douglas Gregor
a4f2b430e0
Objective-C++ ARC: When performing template argument deduction for a
...
lifetime-qualified template parameter, ensure that the deduced
template argument is a lifetime type. Fixes <rdar://problem/9828157>.
llvm-svn: 136078
2011-07-26 14:53:44 +00:00
Bill Wendling
16b867416f
Clean up the HTML here a bit.
...
llvm-svn: 136074
2011-07-26 10:41:15 +00:00
Jay Foad
6a51402a8a
Fix typo in comment.
...
llvm-svn: 136068
2011-07-26 09:36:52 +00:00
Nick Lewycky
1fcd0f1581
Don't try to dereference syms[0] on an empty vector. Reported by Todd Jackson
...
and Jeffrey Bosboom!
llvm-svn: 136066
2011-07-26 08:40:36 +00:00
Bill Wendling
ee61946783
The compact unwinding offsets are divided by 8 on 64-bit machines.
...
llvm-svn: 136065
2011-07-26 08:03:49 +00:00
Bill Wendling
dd7805a24d
Describe the reasoning for compact unwind in better terms. Thanks to Nick Kledzik for the description.
...
llvm-svn: 136064
2011-07-26 07:58:09 +00:00
Chad Rosier
99ee7829ff
After further discussion it has been determined that alignof should report
...
the preferred alignment. Thus, revert r135934, r135935, and r135940.
llvm-svn: 136062
2011-07-26 07:03:04 +00:00
Chandler Carruth
c22845abe2
Cleanup the stray comments and variables I could dig out of Sema to
...
refer to 'expansion' instead of 'instantiation'.
llvm-svn: 136060
2011-07-26 05:40:03 +00:00
Chandler Carruth
0b5cf7c863
Fix a stray instantiation comment in Parse.
...
llvm-svn: 136059
2011-07-26 05:19:46 +00:00
Chandler Carruth
64ee782e2f
Clean up as many of the comments in Basic I can find to talk in terms of
...
'expansion' rather than 'instantiation' for macro source locations.
llvm-svn: 136058
2011-07-26 05:17:23 +00:00
Chandler Carruth
ee4c1d1298
Migrate 'Instantiation' data and API bits of SLocEntry to 'Expansion'
...
etc. With this I think essentially all of the SourceManager APIs are
converted. Comments and random other bits of cleanup should be all thats
left.
llvm-svn: 136057
2011-07-26 04:56:51 +00:00
Chandler Carruth
73ee5d7fae
Convert InstantiationInfo and much of the related code to ExpansionInfo
...
and various other 'expansion' based terms. I've tried to reformat where
appropriate and catch as many references in comments but I'm going to do
several more passes. Also I've tried to expand parameter names to be
more clear where appropriate.
llvm-svn: 136056
2011-07-26 04:41:47 +00:00
Jason Molenda
26a27fb832
RNBRemote.cpp, RNBRemote.h: Add a new qGetPid packet which returns
...
the pid of the process currently being debugged by debugserer in
hex, or 0 if unavailable.
This is effectively the same as the qC packet but that packet is
not clear in either its documentation or implementation (in gdb et al)
as to whether it is intended to return a pid or a thread id. qGetPid
is unambiguous.
If qGetPid is unimplemented in the remote debugserver, the debugger may
try qC and see what kind of value is returned..
llvm-svn: 136055
2011-07-26 03:34:52 +00:00
Chandler Carruth
115b077f30
Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.
...
llvm-svn: 136054
2011-07-26 03:03:05 +00:00
Chandler Carruth
aa63153ff7
Rename SourceManager (and InstantiationInfo) isMacroArgInstantiation API
...
to isMacroArgExpansion.
llvm-svn: 136053
2011-07-26 03:03:00 +00:00
Jim Ingham
5c4df7a4d6
Indent the frames in the "thread.GetStatus" frame listing. Also put the same space after each thread listing for "thread backtrace all" as "thread backtrace 1 3 5"
...
llvm-svn: 136052
2011-07-26 02:39:59 +00:00
Bruno Cardoso Lopes
d600a0f878
Add 256-bit isel for movsldup/movshdup
...
llvm-svn: 136051
2011-07-26 02:39:32 +00:00
Bruno Cardoso Lopes
d77b383199
More movsldup/movshdup cleanup. Rewrite the mask matching function and add
...
support for 256-bit versions (but no instruction selection yet, coming next).
llvm-svn: 136050
2011-07-26 02:39:28 +00:00