Jim Grosbach
175d6411c8
Enable the MC-ized ARM asm printer. Passing all local tests, so it's time to
...
enable it for real. Leaving the CL option in place to it's easy to disable it
again if (when) testers find something I've missed.
llvm-svn: 114915
2010-09-27 22:28:11 +00:00
Sebastian Redl
9609b4f1a8
When chaining PCHs, only write PPRecords that don't come from PCH, and give them the correct IDs. Fixes a crash in XCode.
...
llvm-svn: 114913
2010-09-27 22:18:47 +00:00
Douglas Gregor
a1ce1f80cf
Centralize the handling of
...
CXXRecordDecl::DefinitionData::DeclaredCopyAssignment, for
copy-assignment operators. Another step toward <rdar://problem/8459981>.
llvm-svn: 114899
2010-09-27 22:06:20 +00:00
Rafael Espindola
96bfb50c03
Write relocations in the end of the file. This matches what gas does and
...
makes files easier to diff.
llvm-svn: 114898
2010-09-27 22:04:54 +00:00
Jim Grosbach
9e9ed98305
ARM-mode eh.sjlj.longjmp MC lowering
...
llvm-svn: 114896
2010-09-27 21:47:04 +00:00
Rafael Espindola
9ca41113f6
Make sure .text doesn't produce extra alignment.
...
llvm-svn: 114895
2010-09-27 21:40:27 +00:00
Caroline Tice
988efc1ba2
Fix one-liner Python breakpoint commands to be wrapped up in an automatically
...
generated Python function, and passed the stoppoint context frame and
bp_loc as parameters.
llvm-svn: 114894
2010-09-27 21:35:15 +00:00
Jakob Stoklund Olesen
1083573796
Don't try to constant fold libm functions with non-finite arguments.
...
Usually we wouldn't do this anyway because llvm_fenv_testexcept would return an
exception, but we have seen some cases where neither errno nor fenv detect an
exception on arm-linux.
llvm-svn: 114893
2010-09-27 21:29:20 +00:00
Jim Grosbach
11fed543c9
Enable the MC-ized ARM asm printer. Passing all local tests, so it's time to
...
enable it for real. Leaving the CL option in place to it's easy to disable it
again if (when) testers find something I've missed.
llvm-svn: 114892
2010-09-27 21:28:44 +00:00
Rafael Espindola
9735f4ff8d
Factor symbol value computation into a function.
...
llvm-svn: 114891
2010-09-27 21:23:02 +00:00
Bill Wendling
1308667f18
Revert my patch changing the MMX "shift" intrinsics that take immediates into
...
"shift with non-immediate" intrinsics. It gets here because we they aren't
immediates anymore.
llvm-svn: 114890
2010-09-27 21:22:25 +00:00
Douglas Gregor
d30e79f839
Clean up the handling of the DeclaredDefaultConstructor and
...
DeclaredCopyConstructor bits in CXXRecordDecl's DefinitionData
structure. Rather than having Sema call addedConstructor or set the
bits directly at semi-random places, move all of the logic for
managing these bits into CXXRecordDecl itself and tie the
addedConstructor call into DeclContext::addDecl().
This makes it easier for AST-building clients to get the right bits
set in DefinitionData, and is one small part of <rdar://problem/8459981>.
llvm-svn: 114889
2010-09-27 21:17:54 +00:00
Michael J. Spencer
ce2e535b19
MC-COFF: Fix signed/unsigned comparison.
...
llvm-svn: 114888
2010-09-27 21:17:39 +00:00
Howard Hinnant
cd39d413b4
Getting started on <atomic>
...
llvm-svn: 114887
2010-09-27 21:17:38 +00:00
Chris Lattner
b671d84ade
reapply developer policy changes after discussion.
...
llvm-svn: 114886
2010-09-27 21:17:15 +00:00
Greg Clayton
594e5ed939
Hooked up detach for ProcessGDBRemote.
...
Remove the GetUserData()/SetUserData() from the DWARFDebugInfoEntry
class. We now track everything with dense maps.
llvm-svn: 114876
2010-09-27 21:07:38 +00:00
Johnny Chen
ff745c02ff
Modified doc string.
...
llvm-svn: 114875
2010-09-27 21:04:54 +00:00
Nico Weber
d75488d010
Correctly set "explicit template instantiation" kind on inner structs of templates whose explicit instantiation is first declared and then defined.
...
Fixes http://llvm.org/pr8207
llvm-svn: 114874
2010-09-27 21:02:09 +00:00
Johnny Chen
ca54e280d5
Added @expectedFailure decorator for the "long long" and "unsigned long long"
...
test cases.
llvm-svn: 114872
2010-09-27 20:55:52 +00:00
Johnny Chen
e1030cd883
Added "long long" and "unsigned long long" to the TestBasicTypes.py.
...
Added a special "clean" target to the types/Makefile to clean up all the *.o/.d
files.
The generic_type_tester() method is modified to take a set of atoms, instead of
type string as a required parameter, for example:
o unsigned int => set(['unsigned', 'int'])
o unsigned long long => set(['unsigned', 'long long'])
o long long => set(['long long'])
llvm-svn: 114871
2010-09-27 20:44:46 +00:00
Nico Weber
a384e9a5f4
Let lit give helpful advice if 'make test' was not run yet.
...
llvm-svn: 114869
2010-09-27 20:40:32 +00:00
Bill Wendling
dcd7c2b833
Add a new scope type "LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN" for the
...
"linker_private_weak_auto_def" linkage type for LTO.
llvm-svn: 114868
2010-09-27 20:17:45 +00:00
Daniel Dunbar
32f1b54b69
utils/ABITest: Factor out type naming code slightly.
...
llvm-svn: 114867
2010-09-27 20:13:24 +00:00
Daniel Dunbar
1998651529
utils/ABITest: Tweak default bit-field types to cover some more interesting cases.
...
llvm-svn: 114866
2010-09-27 20:13:22 +00:00
Daniel Dunbar
47dd9c2fc5
utils/ABITest: Add a workaround for mismatches due to PR5579.
...
llvm-svn: 114865
2010-09-27 20:13:19 +00:00
Daniel Dunbar
22ec2c218c
utils/ABITest: Add option to skip individual tests by index.
...
llvm-svn: 114864
2010-09-27 20:13:17 +00:00
Daniel Dunbar
2e0db09078
Frontend: Teach clang -cc1as to respond to -v.
...
llvm-svn: 114863
2010-09-27 20:13:13 +00:00
Daniel Dunbar
6b2aaf1a36
Hard to imagine there are still people using inferior compilers.
...
llvm-svn: 114862
2010-09-27 20:12:58 +00:00
Daniel Dunbar
d116d8a4e9
MC/AsmParser: Handle exponents in floating point literals.
...
llvm-svn: 114861
2010-09-27 20:12:52 +00:00
Fariborz Jahanian
cb67d7b7c2
Issue warning for trivial cases of nonnull attributes
...
(on functions with no pointer arguments) but only when
the attribute has not been coming from a macro
instantiation in a header file. Fixes first part
of radar 6857843.
llvm-svn: 114860
2010-09-27 19:05:51 +00:00
Jakob Stoklund Olesen
415a7a6fec
Revert "Disable codegen prepare critical edge splitting. Machine instruction passes now"
...
This reverts revision 114633. It was breaking llvm-gcc-i386-linux-selfhost.
It seems there is a downstream bug that is exposed by
-cgp-critical-edge-splitting=0. When that bug is fixed, this patch can go back
in.
Note that the changes to tailcallfp2.ll are not reverted. They were good are
required.
llvm-svn: 114859
2010-09-27 18:43:48 +00:00
Jakob Stoklund Olesen
4f3443e74d
Explicitly disable CGP critical edge splitting for this test so it won't break
...
by reenabling it temporarily.
llvm-svn: 114858
2010-09-27 18:43:43 +00:00
Jakob Stoklund Olesen
f2a279b902
Don't depend on basic block numbering.
...
llvm-svn: 114857
2010-09-27 18:43:40 +00:00
Rafael Espindola
69aa15155f
Odd additional stub framework for the ARM MC ELF emission.
...
llc now recognizes the "intent" to support MC/obj emission for ARM, but
given that they are all stubs, it asserts on --filetype=obj --march=arm
Patch by Jason Kim.
llvm-svn: 114856
2010-09-27 18:31:37 +00:00
Nick Kledzik
c2d789b95e
<rdar://problem/8482056> Add Soft Floating Compares for armv6 and armv7
...
llvm-svn: 114854
2010-09-27 18:28:15 +00:00
Rafael Espindola
cceded493f
Remove unused argument.
...
llvm-svn: 114852
2010-09-27 18:13:03 +00:00
Howard Hinnant
f5241d7586
Bugzilla 8231
...
llvm-svn: 114851
2010-09-27 18:09:23 +00:00
Bill Wendling
2776d465ee
The "linker_private_weak*" linkages should set the LTO_SYMBOL_DEFINITION_WEAK
...
during LTO.
llvm-svn: 114850
2010-09-27 18:05:19 +00:00
Caroline Tice
18474c933c
Automatically wrap *all* Python code entered for a breakpoint command inside
...
an auto-generated Python function, and pass the stoppoint context frame and
breakpoint location as parameters to the function (named 'frame' and 'bp_loc'),
to be used inside the breakpoint command Python code, if desired.
llvm-svn: 114849
2010-09-27 18:00:20 +00:00
Howard Hinnant
30ad985b6b
Cleaning up some tuple code.
...
llvm-svn: 114848
2010-09-27 17:54:17 +00:00
Benjamin Kramer
c758311025
Push twines deeper into SourceMgr's error handling methods.
...
llvm-svn: 114847
2010-09-27 17:42:11 +00:00
Johnny Chen
23cb3716df
Updated test case to "settings set prompt 'lldb2'" since the '-o' option is gone.
...
Also added "settings set -r prompt" to reset the prompt afterwards.
llvm-svn: 114846
2010-09-27 17:36:59 +00:00
Fariborz Jahanian
30e8d58dbd
Copying result of object property reference expression
...
into a temporary is elidable as well.
(Finishes up radar 8291337).
llvm-svn: 114845
2010-09-27 17:30:38 +00:00
Dale Johannesen
786874de82
MMX parameters aren't handled here yet.
...
llvm-svn: 114844
2010-09-27 17:29:47 +00:00
Dale Johannesen
117f7708c4
Don't try to make a vector of x86mmx; this won't work,
...
and asserts.
llvm-svn: 114843
2010-09-27 17:29:14 +00:00
Dan Gohman
cf935acf53
writeGraph doesn't need its ShortNames argument.
...
llvm-svn: 114842
2010-09-27 16:59:51 +00:00
Dan Gohman
16ef49686c
Delete an unused function.
...
llvm-svn: 114841
2010-09-27 16:58:21 +00:00
Caroline Tice
0f564dbc8c
Change command option "--no_override" to "--no-override" (hypen instead of underscore).
...
llvm-svn: 114840
2010-09-27 16:58:16 +00:00
Dan Gohman
ca8ebc8de2
Delete an unused declaration.
...
llvm-svn: 114839
2010-09-27 16:54:49 +00:00
Dan Gohman
68fe970732
Don't construct a redundant GraphWriter object.
...
llvm-svn: 114838
2010-09-27 16:54:13 +00:00