Greg Clayton
87b0c1e63c
Remove extra launch arguments.
...
llvm-svn: 135560
2011-07-20 02:22:21 +00:00
Andrew Trick
f53622e129
indvars test case for r135558.
...
llvm-svn: 135559
2011-07-20 02:14:37 +00:00
Andrew Trick
c5dd3e976a
indvars -disable-iv-rewrite fix: derived GEP IVs
...
llvm-svn: 135558
2011-07-20 02:08:58 +00:00
Greg Clayton
0c54d8a97c
Added register reading support for ARM, i386 and x86_64.
...
llvm-svn: 135557
2011-07-20 01:32:50 +00:00
Douglas Gregor
270e014b7a
Use a ContinuousRangeMap to map from the global macro definition ID in
...
the AST reader down to the AST file + local ID, rather than walking
the PCH chain. More cleanup/generalization, although there is more
work to do for preprocessed entities. In particular, the
"preallocation" scheme for preprocessed entities is not going to work
well with late loading of PCH files, and it's likely we'll have to do
something akin to the SourceManager's negative/positive loading.
llvm-svn: 135556
2011-07-20 01:29:15 +00:00
Benjamin Kramer
cc38ef6d84
Don't leak CodeGenInfos.
...
llvm-svn: 135555
2011-07-20 01:27:58 +00:00
Douglas Gregor
2262d28bab
Use a ContinuousRangeMap to map from the global selector ID in the AST
...
reader down to the AST file + local ID, rather than walking the PCH
chain. No functionality change; this is generalization and cleanup.
llvm-svn: 135554
2011-07-20 01:10:58 +00:00
Johnny Chen
5cb19e7725
Add some docstrings for SBFileSpec class.
...
llvm-svn: 135553
2011-07-20 01:06:37 +00:00
Joerg Sonnenberger
869f0b70d4
PR10392: "#pragma GCC visibility" must not expand macros in its
...
arguments.
llvm-svn: 135552
2011-07-20 01:03:50 +00:00
Douglas Gregor
19d2635d8c
Use a ContinuousRangeMap to map from the global identifier ID in the
...
AST reader down to the AST file + local ID, rather than walking the
PCH chain. No functionality change; this is generalization and cleanup.
llvm-svn: 135551
2011-07-20 00:59:32 +00:00
Akira Hatanaka
170581488f
Change name of class.
...
llvm-svn: 135550
2011-07-20 00:53:09 +00:00
Douglas Gregor
551273e176
Try to appease MSVC's standard library.
...
llvm-svn: 135549
2011-07-20 00:31:58 +00:00
Douglas Gregor
047d2effea
Use a ContinuousRangeMap to map from the global declaration ID in the
...
AST reader down to the AST file + local ID within that file, rather
than lamely walking the PCH chain. There's no actual functionality
change now, but this is cleaner and more general.
llvm-svn: 135548
2011-07-20 00:27:43 +00:00
Johnny Chen
8957729268
Add some docstrings for SBError class.
...
llvm-svn: 135547
2011-07-20 00:23:11 +00:00
Akira Hatanaka
969edcdf74
Define classes for definitions of atomic instructions.
...
llvm-svn: 135546
2011-07-20 00:23:01 +00:00
Joerg Sonnenberger
da5d2b761a
Spelling
...
llvm-svn: 135545
2011-07-20 00:14:37 +00:00
Johnny Chen
2494f555b6
A more succinct assertTrue.
...
llvm-svn: 135544
2011-07-20 00:14:20 +00:00
Richard Smith
e3daab2449
Replace r134583's fix for PR10290 with one which also works for non-value-dependent cases.
...
llvm-svn: 135543
2011-07-20 00:12:52 +00:00
Johnny Chen
cd1211ef81
Minor change; add an assertTrue stmt.
...
llvm-svn: 135542
2011-07-20 00:11:54 +00:00
Richard Smith
2b5c61197f
Use the zero from the correct enumeration when initializing this variable.
...
llvm-svn: 135541
2011-07-20 00:10:13 +00:00
Johnny Chen
755e083ef6
Add some docstrings for SBSourceManager class.
...
llvm-svn: 135539
2011-07-19 23:35:10 +00:00
Bill Wendling
d942384128
Build and install the archive when building the Apple way.
...
llvm-svn: 135538
2011-07-19 23:33:42 +00:00
Akira Hatanaka
a4c09bce9b
Lower memory barriers to sync instructions.
...
llvm-svn: 135537
2011-07-19 23:30:50 +00:00
Johnny Chen
e012858bd6
Add some docstrings for SBStream class.
...
llvm-svn: 135536
2011-07-19 23:24:36 +00:00
Evan Cheng
ccf243d56b
Fix an obvious typo that's preventing x86 (32-bit) from using .literal16.
...
llvm-svn: 135535
2011-07-19 23:14:32 +00:00
Eli Friedman
55d6ccbb79
PR10386: Don't try to split an edge from an indirectbr.
...
llvm-svn: 135534
2011-07-19 22:59:41 +00:00
Benjamin Kramer
46d9cd5f72
Fix off-by-one.
...
llvm-svn: 135533
2011-07-19 22:59:25 +00:00
Jim Grosbach
d25c2cdad7
Tweak ARM assembly parsing and printing of MSR instruction.
...
The system register spec should be case insensitive. The preferred form for
output with mask values of 4, 8, and 12 references APSR rather than CPSR.
Update and tidy up tests accordingly.
llvm-svn: 135532
2011-07-19 22:45:10 +00:00
Johnny Chen
fdc4a86c05
Move the rest of the SB headers to interface files.
...
They are not docstring'ed yet.
llvm-svn: 135531
2011-07-19 22:41:47 +00:00
Sean Callanan
53a6bff7e1
This fix (thanks to Doug Gregor) corrects a bug
...
in ImportDefinition when replacing a previously
forward-declared CXXRecordDecl with its full
definition. The forward-declared type's
DefinitionData had not been intialized for the
forward-declared type, so adding fields to the
Decl caused CXXRecordDecl::addedMember() to
crash when accessing the DefinitionData.
llvm-svn: 135530
2011-07-19 22:38:25 +00:00
Enrico Granata
2dee16e883
type category list now supports a regular expression argument that filters categories to only include the ones matching the regex
...
type summary list now supports a -w flag with a regular expression argument that filters categories to only include the ones matching the regex
in category and summary listings, categories are printed in a meaningful order:
- enabled ones first, in the order in which they are searched for summaries
- disabled ones, in an unspecified order
type summary list by default only expands non-empty enabled categories. to obtain a full listing, you must use the -w flag giving a "match-all" regex
llvm-svn: 135529
2011-07-19 22:35:10 +00:00
Devang Patel
a59b24b090
Distinguish between two copies of one inlined variable.
...
llvm-svn: 135528
2011-07-19 22:31:15 +00:00
Jim Grosbach
97094d8f06
ARM assembly parsing of MRS instruction.
...
Teach the parser to recognize the APSR and SPSR system register names. Add
and update tests accordingly.
llvm-svn: 135527
2011-07-19 21:59:29 +00:00
Johnny Chen
0f5196844d
Rearrange the %include SWIG directives into two groups. One is the pure .h headers and the other is the .i interface files.
...
The objective is to move the .h header into .i interface file eventually.
llvm-svn: 135526
2011-07-19 21:49:34 +00:00
Ted Kremenek
65b3e0649c
Fix false negative in -Wuninitialized involving a () wrapping an lvalue-to-rvalue conversion in a DeclStmt.
...
llvm-svn: 135525
2011-07-19 21:41:51 +00:00
Owen Anderson
c78e03c39a
Enhance the FixedLengthDecoder to be able to generate plausible-looking decoders for ARM.
...
llvm-svn: 135524
2011-07-19 21:06:00 +00:00
Enrico Granata
9df29e32c9
Applied Matt Johnson patch to ValueObject and FormatManager
...
llvm-svn: 135523
2011-07-19 20:57:44 +00:00
Akira Hatanaka
9663dd3f00
Change variable name.
...
llvm-svn: 135522
2011-07-19 20:56:53 +00:00
Jim Grosbach
7d1e5f11ea
ARM assembly parsing for MRC/MRC2/MRRC/MRRC2.
...
Add range checking to the immediate operands. Update tests accordingly.
llvm-svn: 135521
2011-07-19 20:35:35 +00:00
Akira Hatanaka
f3b29992d5
Use the correct opcodes: SLLV/SRLV or AND must be used instead of SLL/SRL or
...
ANDi, when the instruction does not have any immediate operands.
llvm-svn: 135520
2011-07-19 20:34:00 +00:00
Ted Kremenek
5d855bf7f2
Fix assertion failure in UninitializedValues.cpp where an lvalue to rvalue conversion is wrapped in a parenthesis.
...
llvm-svn: 135519
2011-07-19 20:33:49 +00:00
Jordy Rose
a39e10fd7c
[analyzer] Very minor cleanup in PthreadLockChecker. No functionality change.
...
llvm-svn: 135518
2011-07-19 20:31:42 +00:00
Jim Grosbach
b17d9b12a6
Move mr[r]c[2] ARM tests and tidy up a bit.
...
llvm-svn: 135517
2011-07-19 20:28:56 +00:00
Jim Grosbach
69721dce67
ARM testcases for MOVT.
...
llvm-svn: 135516
2011-07-19 20:23:25 +00:00
Jordy Rose
d9c522100e
[analysis] Add checks for double-locking and lock order reversal bugs for
...
pthread and XNU locks. Patch by Rui Paulo!
llvm-svn: 135515
2011-07-19 20:21:41 +00:00
Akira Hatanaka
0e01959327
Use descriptive variable names.
...
llvm-svn: 135514
2011-07-19 20:11:17 +00:00
Jim Grosbach
5cc3b4cd9a
ARM assembly parsing for MOV (register).
...
Correct the handling of the 's' suffix when parsing ARM mode. It's only a
truly separate opcode in Thumb. Add test cases to make sure we handle
the s and condition suffices correctly, including diagnostics.
llvm-svn: 135513
2011-07-19 20:10:31 +00:00
Greg Clayton
72c66dde39
Avoid calling accessor function more than once when result is already in
...
a local.
llvm-svn: 135512
2011-07-19 20:06:26 +00:00
Greg Clayton
9189b20875
Added some more functionality to SocketAddress and modified
...
ConnectionFileDescriptor to use it.
llvm-svn: 135511
2011-07-19 20:03:42 +00:00
Chad Rosier
b90e40256c
Refactor r135502 to avoid an empty if else condition, per Eric's suggestion (good call!).
...
llvm-svn: 135510
2011-07-19 20:00:06 +00:00