Howard Hinnant
fe7cffaf57
Suppress some warings in the tests.
...
llvm-svn: 131327
2011-05-14 00:04:05 +00:00
Howard Hinnant
a7fa0710cb
Suppress some warings in the tests.
...
llvm-svn: 131326
2011-05-13 23:59:50 +00:00
John McCall
8a2548f6e0
Add an operator+= for appending StringRefs onto std::strings.
...
Previously this pattern would be compiled using an implicit conversion
to std::string.
llvm-svn: 131325
2011-05-13 23:58:45 +00:00
Johnny Chen
c8134cee01
Clean up the test a little bit; and use lldbutil.get_GPRs(frame) to retrieve the general purpose register set.
...
llvm-svn: 131324
2011-05-13 23:42:44 +00:00
John McCall
234eac88ae
Reorganize this method to avoid multiple calls for computing CGFunctionInfo
...
and to decrease the amount of effort in appending strings.
llvm-svn: 131323
2011-05-13 23:16:18 +00:00
Jim Grosbach
f6b1846f39
Be a bit more permissive about symbols we don't understand. Just skip them
...
rather than throwing an error.
llvm-svn: 131322
2011-05-13 23:11:30 +00:00
Joerg Sonnenberger
be7850dd8a
Simplify
...
llvm-svn: 131321
2011-05-13 22:58:37 +00:00
Dylan Noblesmith
0bd34fbd01
ExecutionEngine: move createJIT() definition (v2)
...
As an ExecutionEngine class function, its definition
really belongs in ExecutionEngine.cpp, not JIT.cpp.
llvm-svn: 131320
2011-05-13 22:02:53 +00:00
Johnny Chen
b411b980ac
Test commit from a git-svn-cloned lldb/trunk repository.
...
llvm-svn: 131319
2011-05-13 21:55:30 +00:00
Howard Hinnant
fb7f07e3bd
http://llvm.org/bugs/show_bug.cgi?id=9854 . Also created an emulated hexfloat literal for use in some of the tests. <sigh> And cleaned up some harmless but irritating warnings in the tests.
...
llvm-svn: 131318
2011-05-13 21:52:40 +00:00
Dylan Noblesmith
8418fdcd59
ExecutionEngine: push TargetMachine creation into clients (v2)
...
In particular, into EngineBuilder. This should only impact
the private API between the EE and EB classes, not external
clients, since JITCtor and MCJITCtor are both protected members.
llvm-svn: 131317
2011-05-13 21:51:29 +00:00
Dylan Noblesmith
1756faa472
ExecutionEngine: fix JIT/MCJIT selectTarget() duplication (v2)
...
This prepares for making JITCtor/MCJITCtor take a
TargetMachine* directly from clients like EngineBuilder.
llvm-svn: 131316
2011-05-13 21:36:16 +00:00
Rafael Espindola
8255d1e223
Move test.
...
llvm-svn: 131315
2011-05-13 21:35:17 +00:00
Rafael Espindola
a9289bedf8
Move test.
...
llvm-svn: 131314
2011-05-13 21:33:32 +00:00
Johnny Chen
13e8e1c37d
This patch add a "fake" attach waiting for a real implementation and
...
solve the build break due to the lack of this method.
It also propose a solution to the API changes in RegisterContext.
I upgraded also the the python version in the makefile. My linux
installation has python2.7 and AFAIK also the latest ubuntu
has this version of python so maybe is worth upgrading.
Patch by Marco Minutoli <mminutoli@gmail.com>
[Note: I had to hand merge in the diffs since patch thinks it is a corrupt patch.]
llvm-svn: 131313
2011-05-13 21:29:50 +00:00
Joerg Sonnenberger
caf8ffd8e3
Bug 8765: Honor assembler labels for builtins. Ensure that the label is
...
mangled to avoid doing it twice for platforms that use prefixes like
Darwin.
llvm-svn: 131311
2011-05-13 21:12:10 +00:00
Joerg Sonnenberger
b9c79ad333
Include assembler label for functions in the XML dump
...
llvm-svn: 131310
2011-05-13 21:10:39 +00:00
Alexis Hunt
b5b14c8b8f
Fix copy constructor deletion detection with array types.
...
This fixes PR9910
llvm-svn: 131309
2011-05-13 21:10:11 +00:00
Peter Collingbourne
d5d410faa8
Introduce __has_extension macro
...
__has_extension is a function-like macro which takes the same set
of feature identifiers as __has_feature. It evaluates to 1 if the
feature is supported by Clang in the current language (either as a
language extension or a standard language feature) or 0 if not.
At the same time, add support for the C1X feature identifiers
c_generic_selections (renamed from generic_selections) and
c_static_assert, and document them.
Patch by myself and Jean-Daniel Dupas.
llvm-svn: 131308
2011-05-13 20:54:45 +00:00
Tobias Grosser
c0b259ad90
www: Update status of our move to the LLVM infrastructure
...
llvm-svn: 131307
2011-05-13 20:51:45 +00:00
Johnny Chen
4bee32e53a
Headers have been moved to /includes/lldb/Interpreter. This patch
...
reflects this change.
Marco Minutoli <mminutoli@gmail.com>
llvm-svn: 131306
2011-05-13 20:21:08 +00:00
Jim Grosbach
65ed49dfc7
Teach the RtDyld to tell the memory manager about how much space a function
...
actually takes rather than how much memory was allocated for it. This
is more accurate and should help the manager pack things more effectively.
llvm-svn: 131305
2011-05-13 20:12:14 +00:00
Johnny Chen
a566355482
PATH_MAX is in limits.h on Linux.
...
Patch by Marco Minutoli <mminutoli@gmail.com>
llvm-svn: 131304
2011-05-13 20:07:25 +00:00
Johnny Chen
709a060411
This method has been removed from the API. This fix the compilation
...
breakage due to its presence.
Patch by Marco Minutoli <mminutoli@gmail.com>
llvm-svn: 131303
2011-05-13 19:57:45 +00:00
Galina Kistanova
60e17fe806
Move platform-dependent test to appropriate directory.
...
llvm-svn: 131302
2011-05-13 19:45:05 +00:00
Bob Wilson
19c1b88c55
Define __ARM_NEON__ in both ARM and Thumb modes. Radar 9431992.
...
llvm-svn: 131301
2011-05-13 18:56:03 +00:00
Bill Wendling
bb455154a1
Remove the 'unaligned load' builtins now that they're no longer used in the *mmintrin.h files.
...
llvm-svn: 131300
2011-05-13 18:52:28 +00:00
Sean Callanan
19b6afe35e
For cases where a const function is inaccurately reported
...
as non-const in the debug information, added a fallback
to GetFunctionAddress, adding the const qualifier after
the fact and searching again.
llvm-svn: 131299
2011-05-13 18:27:02 +00:00
Fariborz Jahanian
a52b1f72ef
Produce UTF-8 strings with -fconstant-string-class
...
-fno-constant-cfstrings. Patch by Jonathan Schleifer.
llvm-svn: 131298
2011-05-13 18:13:10 +00:00
Fariborz Jahanian
7d62273c87
refactor CheckForwardProtocolDeclarationForCircularDependency returns
...
'true' on detecting protocol cycles. No functionality change.
llvm-svn: 131297
2011-05-13 18:02:08 +00:00
Howard Hinnant
3e71464d50
http://llvm.org/bugs/show_bug.cgi?id=9118
...
llvm-svn: 131296
2011-05-13 17:16:06 +00:00
Douglas Gregor
a8d0c774da
Add c-index-test printing and tests for static and virtual method
...
query functions, from Erik Verbruggen!
llvm-svn: 131295
2011-05-13 15:54:42 +00:00
Rafael Espindola
e53b7d1a11
Make codegen able to handle values of empty types. This is one way
...
to fix PR9900. I will keep it open until sable is able to comment on it.
llvm-svn: 131294
2011-05-13 15:18:06 +00:00
Douglas Gregor
c586166fe3
Eliminate old, useless tutorial page
...
llvm-svn: 131292
2011-05-13 14:43:48 +00:00
Howard Hinnant
467fc38320
A much improved type_traits for C++0x. Not yet done: is_trivially_constructible, is_trivially_assignable and underlying_type.
...
llvm-svn: 131291
2011-05-13 14:08:16 +00:00
Howard Hinnant
5dbf45dfe0
CWG 1170 has been fixed for destructors
...
llvm-svn: 131290
2011-05-13 13:39:08 +00:00
Alexis Hunt
913820daf0
Defaulting copy constructors now works reasonably well.
...
One more special member to go
llvm-svn: 131287
2011-05-13 06:10:58 +00:00
Chris Lattner
b4ccc2d09e
some updates.
...
llvm-svn: 131286
2011-05-13 05:29:16 +00:00
Chris Lattner
935304e12e
this never happened.
...
llvm-svn: 131285
2011-05-13 05:22:41 +00:00
Chris Lattner
98b9029d88
remove some old redirect pages. We're into our 3rd year of redirecting, the world should have adjusted by now :)
...
llvm-svn: 131284
2011-05-13 05:21:33 +00:00
Julien Lerouge
7e11f9e26d
Fix a source of non determinism in FindUsedTypes, use a SetVector instead of a
...
set.
rdar://9423996
llvm-svn: 131283
2011-05-13 05:20:42 +00:00
Peter Collingbourne
d12d712c84
Delete doxygen.cfg, and use cwd-relative paths in doxygen.cfg.in.
...
Now "make doxygen" works for clang.
llvm-svn: 131282
2011-05-13 03:29:06 +00:00
Peter Collingbourne
e92006860d
Refactoring of constant expression evaluator
...
This introduces a generic base class for the expression evaluator
classes, which handles a few common expression types which were
previously handled separately in each class. Also, the expression
evaluator now uses ConstStmtVisitor.
llvm-svn: 131281
2011-05-13 03:29:01 +00:00
Peter Collingbourne
43bb6e23e5
Add a ConstStmtVisitor class
...
ConstStmtVisitor is a constness-preserving variant of StmtVisitor.
ConstStmtVisitor and StmtVisitor share an implementation using a common
base class, StmtVisitorBase, which uses a template template parameter
to build pointer types.
llvm-svn: 131280
2011-05-13 03:28:54 +00:00
Peter Collingbourne
5ac59df9fb
Re-add the autoconf rule for the docs/doxygen.cfg file.
...
For some reason this was not reverted when r103213 was.
At the same time, add an optional rule for clang's doxygen.cfg.
llvm-svn: 131279
2011-05-13 03:27:56 +00:00
Bill Wendling
03e7e430c3
Add 'may_alias' attribute. Noticed by Eli.
...
llvm-svn: 131278
2011-05-13 01:24:00 +00:00
Andrew Trick
03957dfeb1
Convert SimplifyIVUsers into a worklist instead of a single pass over
...
the users.
llvm-svn: 131277
2011-05-13 01:12:21 +00:00
Douglas Gregor
61226d3fcf
When determining whether we can make a declaration into a global
...
constant, also consider whether it's a class type that has any mutable
fields. If so, it can't be a global constant.
llvm-svn: 131276
2011-05-13 01:05:07 +00:00
Alexis Hunt
94f9cbf998
Implement a few basic tests for defaulted and deleted functions.
...
More comprehensive testing once copy {constructors,assignment operators}
can be defaulted.
llvm-svn: 131275
2011-05-13 01:01:05 +00:00
Stuart Hastings
aa02c0847d
Since I can't reproduce the failures from 131261, re-trying with a
...
simplified version. <rdar://problem/9298790>
llvm-svn: 131274
2011-05-13 00:51:54 +00:00