Johnny Chen
624ddf2f20
Added comment.
...
llvm-svn: 132019
2011-05-24 22:57:42 +00:00
Johnny Chen
2f1ee9a09c
Comment change.
...
llvm-svn: 132018
2011-05-24 22:53:03 +00:00
Alexis Hunt
e852b100e2
Implement a new type node, UnaryTransformType, designed to represent a
...
type that turns one type into another. This is used as the basis to
implement __underlying_type properly - with TypeSourceInfo and proper
behavior in the face of templates.
llvm-svn: 132017
2011-05-24 22:41:36 +00:00
Johnny Chen
93e7b3a8bd
Fix a potential bug resulting from the wrong assumption that SWIG puts out the __init__
...
method definition before other method definitions. Instead, do without it and process
the class with IsValid() method definition in all possible states.
llvm-svn: 132016
2011-05-24 22:29:49 +00:00
Eric Christopher
d4562566b4
Add more unimplemented asm modifiers and some documentation of what they
...
do.
Part of rdar://9119939.
llvm-svn: 132015
2011-05-24 22:27:43 +00:00
Nick Lewycky
8a54c3d4ce
Fix Darwin test for r132006.
...
llvm-svn: 132013
2011-05-24 22:18:08 +00:00
Eric Christopher
7617883ce3
Add support for the arm 'y' asm modifier.
...
Fixes part of rdar://9444657
llvm-svn: 132011
2011-05-24 22:10:34 +00:00
Dan Gohman
4a70bfe3c0
Update documentation: -basicaa does chaining these days.
...
llvm-svn: 132010
2011-05-24 22:01:32 +00:00
Howard Hinnant
4a88971ac1
Introduce cxa_virtual.cpp and cxa_guard.cpp. Contributed by Nick Lewycky, Howard Hinnant and John McCall
...
llvm-svn: 132009
2011-05-24 22:01:16 +00:00
Nick Lewycky
82fe5f43d9
When given one of the applicable coverage flags, try to link against
...
libprofile_rt.a. On Darwin, don't try to link -lgcov.
llvm-svn: 132006
2011-05-24 21:54:59 +00:00
Akira Hatanaka
2486729839
Test case for r132003.
...
llvm-svn: 132005
2011-05-24 21:28:18 +00:00
Charles Davis
f4ce8fde18
Test basic SEH directive-parsing functionality. Fix a latent bug exposed by
...
this test.
llvm-svn: 132004
2011-05-24 21:22:53 +00:00
Akira Hatanaka
2db176c4c1
Enable printing of immediates that do not fit in 16-bit. .cprestore can have
...
offsets that are larger than 0x10000.
llvm-svn: 132003
2011-05-24 21:22:21 +00:00
Johnny Chen
685b2b080f
Update comment.
...
llvm-svn: 132002
2011-05-24 21:05:16 +00:00
Ted Kremenek
3a60114085
Add explicit CFG support for ignoring static_asserts.
...
llvm-svn: 132001
2011-05-24 20:41:31 +00:00
Johnny Chen
c731848a05
Add comment.
...
llvm-svn: 131998
2011-05-24 20:36:40 +00:00
Nick Kledzik
bc6191fba9
support another Apple build environment
...
llvm-svn: 131996
2011-05-24 20:27:31 +00:00
Nick Kledzik
664c0da5d8
on Darwin re-export C++0x type infos
...
llvm-svn: 131995
2011-05-24 20:26:04 +00:00
Eli Friedman
bacb17906a
Change condition for determining whether a function is small for inlining metrics so that very long functions
...
with few basic blocks are not re-analyzed.
llvm-svn: 131994
2011-05-24 20:22:24 +00:00
Charles Davis
7f6176c3f9
Implement the rest of the SEH directive-parsing methods in the COFFAsmParser.
...
Add a size alignment check to the .seh_stackalloc directive parser. Add a
more descriptive error message to the .seh_handler directive parser.
Add methods to the TargetAsmInfo struct in support of all this.
llvm-svn: 131992
2011-05-24 20:06:30 +00:00
Roman Divacky
fcae03245d
Let amd64 be used in target triple instead of x86_64 on FreeBSD.
...
Patch by Dimitry Andric!
llvm-svn: 131990
2011-05-24 19:54:09 +00:00
Argyrios Kyrtzidis
8bd428574c
Add new warning that warns when invoking 'delete' on a polymorphic, non-final, class without a virtual destructor.
...
Patch by Matthieu Monrocq!
llvm-svn: 131989
2011-05-24 19:53:26 +00:00
Akira Hatanaka
ce4037ebcf
Fix test case.
...
llvm-svn: 131988
2011-05-24 19:37:15 +00:00
Akira Hatanaka
0f30561bae
Revision 131986 test case.
...
llvm-svn: 131987
2011-05-24 19:29:37 +00:00
Akira Hatanaka
5e16c6a9b2
Implement byval structure argument passing. The following limitations or
...
deficiencies exist:
- Works only if ABI is o32.
- Zero-sized structures cannot be passed.
- There is a lot of redundancy in generated code.
llvm-svn: 131986
2011-05-24 19:18:33 +00:00
Jim Ingham
0a042ced97
Fix a thinko in converting to ReadCStringFromMemory.
...
llvm-svn: 131984
2011-05-24 19:08:00 +00:00
Eli Friedman
68aab459ae
Make instcombine O(N) instead of O(N^2) in code where the same simplifiable constant is used many times.
...
Part of rdar://9471075.
llvm-svn: 131979
2011-05-24 18:52:07 +00:00
Devang Patel
5de2375db8
Remove dead code.
...
llvm-svn: 131974
2011-05-24 18:27:52 +00:00
Cameron Zwarich
d7707fc911
Fix "make check" in Release by removing debug-only options from an 'opt' invocation.
...
llvm-svn: 131972
2011-05-24 18:26:09 +00:00
Dan Gohman
0573b55c2b
Make DecomposeGEPExpression check SimplifyInstruction only
...
after checking for a GEP, so that it matches what GetUnderlyingObject
does. This fixes an obscure bug turned up by bugpoint in the testcase
for PR9931.
llvm-svn: 131971
2011-05-24 18:24:08 +00:00
Johnny Chen
4ebd019b97
Now that we have added a post-processing step for adding truth value testing to
...
those lldb objects which implement the IsValid() method, let's change the rest of
the test suite to use the more compact truth value testing pattern (the Python way).
llvm-svn: 131970
2011-05-24 18:22:45 +00:00
Charles Davis
97019c709d
Add a method to TargetRegisterInfo to get the register number that the Win64 EH
...
scheme uses internally. Implement it for x86 (the only architecture that LLVM
supports for which this matters right now).
llvm-svn: 131969
2011-05-24 16:57:53 +00:00
Douglas Gregor
fcafc6e3de
Implement the initial part of C++0x [expr.const]p2, which specifies
...
that the unevaluated subexpressions of &&, ||, and ? : are not
considered when determining whether the expression is a constant
expression. Also, turn the "used in its own initializer" warning into
a runtime-behavior warning, so that it doesn't fire when a variable is
used as part of an unevaluated subexpression of its own initializer.
Fixes PR9999.
llvm-svn: 131968
2011-05-24 16:02:01 +00:00
Jim Grosbach
7c2c664500
For non-Darwin, a plain 'char' type is unsigned.
...
llvm-svn: 131967
2011-05-24 15:40:46 +00:00
Tobias Grosser
cf771b146b
www: Use absolute links
...
Like this the menu can also be used in subdirectories.
llvm-svn: 131964
2011-05-24 13:56:06 +00:00
Tobias Grosser
e7f23ffa66
www: Add documentation.html
...
llvm-svn: 131963
2011-05-24 13:29:23 +00:00
Tobias Grosser
efe01ce677
www: Add a separarate documentation section.
...
llvm-svn: 131962
2011-05-24 13:15:01 +00:00
Howard Hinnant
cf76200bd3
http://llvm.org/bugs/show_bug.cgi?id=9399 fixed by Ryuta Suzuki
...
llvm-svn: 131961
2011-05-24 12:54:00 +00:00
Tobias Grosser
76747f76a0
ScheduleOptimizer: Declare functions static
...
Functions that are currently only used in this file can be declared static.
Suggested by: ether
llvm-svn: 131960
2011-05-24 12:20:07 +00:00
Tobias Grosser
766b4742cc
www: Add two publications
...
Tobias' diploma thesis and Raghesh's master thesis.
llvm-svn: 131959
2011-05-24 12:20:00 +00:00
Chandler Carruth
e5d9d906cb
Fix a bug in the most recent openSUSE support patch.
...
This patch also by Ismail Donmez.
llvm-svn: 131958
2011-05-24 07:51:17 +00:00
Chandler Carruth
0dc3f8db1a
Fix a bug in -Wundefined-reinterpret-cast where we failed to look
...
through sugared types when testing for TagTypes. This was the actual
cause of the only false positive in Clang+LLVM.
Next evaluation will be over a much larger selection of code including
large amounts of open source code.
llvm-svn: 131957
2011-05-24 07:43:19 +00:00
Cameron Zwarich
46e1ebf367
Clean up the lazy initialization of DIBuilder a bit.
...
llvm-svn: 131956
2011-05-24 06:00:08 +00:00
Nico Weber
3b1d1217f8
Make it possible for external tools to distinguish between paths that come from -I and paths that come from -system. Patch from Paul Holden!
...
llvm-svn: 131955
2011-05-24 04:31:14 +00:00
Jakob Stoklund Olesen
0130027dec
Work around code generation bug in Visual Studio 2010.
...
See http://llvm.org/pr9976 for details.
llvm-svn: 131954
2011-05-24 03:20:56 +00:00
Cameron Zwarich
843bc7d673
Make LoadAndStorePromoter preserve debug info and create llvm.dbg.values when
...
promoting allocas to SSA variables. Fixes <rdar://problem/9479036>.
llvm-svn: 131953
2011-05-24 03:10:43 +00:00
Rafael Espindola
0d018b1155
Explain FIXME.
...
llvm-svn: 131952
2011-05-24 03:10:31 +00:00
Rafael Espindola
0f33be1b87
Fix the defaults for .eh_frame. We were marking it as writable.
...
llvm-svn: 131951
2011-05-24 02:50:20 +00:00
Francois Pichet
a8032e96b5
MSVC doesn't do any validation regarding exception specification.
...
llvm-svn: 131950
2011-05-24 02:11:43 +00:00
Charles Davis
1a4f5123dd
Link in the MCJIT. Fixes makefile build.
...
llvm-svn: 131949
2011-05-24 01:54:03 +00:00