Johnny Chen
6463720505
Add the capability to display the number of supported hardware watchpoints to the "watchpoint list" command.
...
Add default Process::GetWatchpointSupportInfo() impl which returns an error of "not supported".
Add "qWatchpointSupportInfo" packet to the gdb communication layer to support this, and modify TestWatchpointCommands.py to test it.
llvm-svn: 157345
2012-05-23 21:09:52 +00:00
Nicolas Geoffray
afc2edbedc
llvm-ld does not exist anymore, use llvm-link instead.
...
llvm-svn: 157342
2012-05-23 20:34:19 +00:00
Kaelyn Uhrain
4dbe0cd6dc
Fix typo in flag to opt, and also a CHECK-NEXT that doesn't follow a
...
CHECK. The latter error was hidden by the former, and the test harness
used by e.g. "make check" silently ignored that opt was printing an
error message about an unknown flag instead of running on the test file.
llvm-svn: 157341
2012-05-23 20:21:36 +00:00
Jakob Stoklund Olesen
5b8f476037
Correctly deal with identity copies in RegisterCoalescer.
...
Now that the coalescer keeps live intervals and machine code in sync at
all times, it needs to deal with identity copies differently.
When merging two virtual registers, all identity copies are removed
right away. This means that other identity copies must come from
somewhere else, and they are going to have a value number.
Deal with such copies by merging the value numbers before erasing the
copy instruction. Otherwise, we leave dangling value numbers in the live
interval.
This fixes PR12927.
llvm-svn: 157340
2012-05-23 20:21:06 +00:00
Ted Kremenek
4ab452d061
Update checker build.
...
llvm-svn: 157339
2012-05-23 19:57:38 +00:00
Tim Northover
f6e29c4771
Fix how CMake appends -m32 to linker command-lines
...
llvm-svn: 157337
2012-05-23 18:42:02 +00:00
Chad Rosier
223faf719c
[arm-fast-isel] Add support for non-global callee.
...
Patch by Jush Lu <jush.msn@gmail.com>.
llvm-svn: 157336
2012-05-23 18:38:57 +00:00
Manuel Klimek
3f00134c05
Adds the Refactoring library, which is a layer on top of the Tooling library
...
that allows easy refactoring across translation units.
llvm-svn: 157331
2012-05-23 16:29:20 +00:00
Filipe Cabecinhas
c34f776877
extra ';' outside of a function [-pedantic,-Wextra-semi]
...
llvm-svn: 157330
2012-05-23 16:27:09 +00:00
Nuno Lopes
10287d839f
BoundsChecking: add a couple of simple tests and fix a bug in branch emition
...
llvm-svn: 157329
2012-05-23 16:24:52 +00:00
Filipe Cabecinhas
52008c641c
Small fixes: actually return a boolean and remove semi-colons.
...
llvm-svn: 157328
2012-05-23 16:24:11 +00:00
Jim Ingham
04e0a2270a
Process::Destroy should Halt before it tries to destroy so we don't have race conditions where we are in the middle of trying to service an event when we go to Destroy.
...
The AttachCompletionHandler should note that it has restarted the target if it indeed does so.
llvm-svn: 157327
2012-05-23 15:46:31 +00:00
Evgeniy Stepanov
8152e22073
Move AsanShadowRangeIsAvailable() from mac to posix.
...
llvm-svn: 157326
2012-05-23 15:21:50 +00:00
Nuno Lopes
561dae0947
revert r156383: removal of TYPE_CODE_FUNCTION_OLD
...
Apparently LLVM only stopped emitting this after LLVM 3.0
llvm-svn: 157325
2012-05-23 15:19:39 +00:00
Patrik Hägglund
8a1e316c15
Fix the inliner so that the optsize function attribute don't alter the
...
inline threshold if the global inline threshold is lower (as for -Oz).
Reviewed by Chandler Carruth and Bill Wendling.
llvm-svn: 157323
2012-05-23 13:42:57 +00:00
Patrik Hägglund
ca210d8432
Fixed typo in r156905.
...
llvm-svn: 157320
2012-05-23 12:34:56 +00:00
Patrik Hägglund
94537c2a06
Small fix for the debug output from PBQP (PR12822).
...
llvm-svn: 157319
2012-05-23 12:12:58 +00:00
Evgeniy Stepanov
8f247016bd
Use zero-based shadow by default on Android.
...
llvm-svn: 157318
2012-05-23 11:52:37 +00:00
Evgeniy Stepanov
617232f32b
Use zero-based shadow by default on Android.
...
llvm-svn: 157317
2012-05-23 11:52:12 +00:00
Stepan Dyatkovskiy
7a50155227
PR1255(case ranges) related changes in Local Transformations.
...
llvm-svn: 157315
2012-05-23 08:18:26 +00:00
Dmitry Vyukov
4a17675888
asan: fix typo in comment
...
llvm-svn: 157314
2012-05-23 06:14:21 +00:00
Craig Topper
a4fd6d655a
Tidy up spacing.
...
llvm-svn: 157313
2012-05-23 05:44:51 +00:00
Chris Lattner
4f18aa8f04
small refinement to r157218 to save a tiny amount of table size in the common
...
case.
llvm-svn: 157312
2012-05-23 05:19:18 +00:00
Richard Smith
47ad017191
Correct the starting location for instantiations of field declarations which
...
start with a cv-qualifier. DeclaratorDecl::getTypeSpecStartLoc() does not
produce the location of the first type-specifier (the cv-qualifier) in this
case, because we don't track source locations for cv-qualifiers.
No test here: I've not found a way to test this with a lit-style test, and
introducing a gtest test for this seems unwarranted. Suggestions welcome!
Patch by Daniel Jasper!
llvm-svn: 157311
2012-05-23 04:22:22 +00:00
Richard Smith
01ade177e9
If the first argument of __builtin_object_size can be folded to a constant
...
pointer, but such folding encounters side-effects, ignore the side-effects
rather than performing them at runtime: CodeGen generates wrong code for
__builtin_object_size in that case.
llvm-svn: 157310
2012-05-23 04:13:20 +00:00
Craig Topper
9fc5c814fa
Fix indentation of wrapped line for readability. No functional change.
...
llvm-svn: 157309
2012-05-23 03:59:53 +00:00
Richard Smith
607d631d64
Clang 3.1 is out: turn the relevant C++11 status boxes green.
...
llvm-svn: 157308
2012-05-23 01:38:11 +00:00
Eric Christopher
9cc59f66ad
Move file to be more representative.
...
llvm-svn: 157306
2012-05-23 00:18:46 +00:00
Eric Christopher
41f556b709
Check that we have an unknown upper bound range for our flexible array members.
...
llvm-svn: 157305
2012-05-23 00:18:43 +00:00
Eric Christopher
a91af14b8d
Emit C++11 enum class information if it exists.
...
Part of rdar://11496790
llvm-svn: 157304
2012-05-23 00:09:47 +00:00
Eric Christopher
c49643586b
Add support for C++11 enum classes in llvm.
...
Part of rdar://11496790
llvm-svn: 157303
2012-05-23 00:09:20 +00:00
Johnny Chen
ebffd2e7fd
Add more convenience registers to x86_64 and a simple test scenario:
...
self.expect("expr -- $ax == (($ah << 8) | $al)",
substrs = ['true'])
llvm-svn: 157302
2012-05-22 23:32:12 +00:00
Nuno Lopes
59e9df773a
address some of John Criswell's comments
...
teach computeAllocSize about realloc, reallocf, and valloc
llvm-svn: 157298
2012-05-22 22:02:19 +00:00
NAKAMURA Takumi
70c1aa0bb5
ARMDisassembler.cpp: Fix utf8 char in comments.
...
llvm-svn: 157292
2012-05-22 21:47:02 +00:00
Sean Callanan
8b1e432113
Integrated a fix for an ARM disassembler crash
...
(0xd 0xd 0xa0 0xf4, or "vld2hs.8 {d0[], d1[]}, [r0]!")
llvm-svn: 157289
2012-05-22 21:42:43 +00:00
John McCall
8d32c05ed4
Recognize the MS inheritance attributes and turn them into attributes
...
on the RecordDecl. Persist the MS portability type attributes and
ignore them in Sema rather than the parser.
Patch by João Matos!
llvm-svn: 157288
2012-05-22 21:28:12 +00:00
John McCall
fa6cf4cc9a
Fix line endings.
...
llvm-svn: 157287
2012-05-22 21:28:07 +00:00
Johnny Chen
6c26f0b2a7
Fix a typo.
...
llvm-svn: 157278
2012-05-22 19:41:53 +00:00
Johnny Chen
819b35daf7
Add a test case to check that eax's content equals the lower half of rax.
...
Plus fix the test class name as well as wrong directory path.
llvm-svn: 157277
2012-05-22 19:37:01 +00:00
Johnny Chen
b42b05e6de
The RegisterInfo descriptors for the convenience registers can specify an offset to be added to the offset as derived from
...
the value_regs field, which is useful for future expansion purposes. As of now, we have:
calculated_offset_of_eax = offset_of_rax + (offset_of_eax_from_the_descriptor which is 0)
llvm-svn: 157275
2012-05-22 18:59:38 +00:00
Eric Christopher
d42b92f5c3
Untabify and 80-col.
...
llvm-svn: 157274
2012-05-22 18:45:24 +00:00
Eric Christopher
775cbd2b47
Formatting consistency.
...
llvm-svn: 157273
2012-05-22 18:45:18 +00:00
Johnny Chen
377c63da9e
Fix wrong offset of eax and friends pointed out by Greg.
...
rdar://problem/11487457
llvm-svn: 157272
2012-05-22 18:34:18 +00:00
Jakob Stoklund Olesen
eebd5bc646
Also compute TopoSigs in synthetic register classes.
...
CodeGenRegisterClass has two constructors. Both need to compute the
TopoSigs BitVector.
llvm-svn: 157271
2012-05-22 18:20:28 +00:00
Dmitry Vyukov
302cebb8f1
tsan: add shadow memory flush + fix few bugs
...
llvm-svn: 157270
2012-05-22 18:07:45 +00:00
Eric Christopher
8b3304da56
Test that we emit a subrange type for vlas.
...
Part of rdar://11457152
llvm-svn: 157269
2012-05-22 18:04:48 +00:00
Dmitry Vyukov
011a363c85
tsan: fix sizeof sigset_t
...
llvm-svn: 157268
2012-05-22 18:01:33 +00:00
Manuel Klimek
d9c79e753b
Fixes the autoconf build.
...
llvm-svn: 157266
2012-05-22 17:45:33 +00:00
Nuno Lopes
eee43e1bc7
hopefully fix the CMake build. sorry for breakage
...
llvm-svn: 157264
2012-05-22 17:40:46 +00:00
Andrew Trick
a7a3de1bcf
LSR fix: add a missing phi check during IV hoisting.
...
Fixes PR12898: SCEVExpander crash.
llvm-svn: 157263
2012-05-22 17:39:59 +00:00