| Commit message (Collapse) | Author | Age |
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
|
| |
non PIC code
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
(cherry picked from commit eb59af8b10ff9621d75e9a57a531783ce898c313)
|
| |
|
|
|
|
| |
type up to 16 bytes
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
| |
type up to 8 bytes
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
| |
up to 8 bytes
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
|
| |
This patch is needed for example to make libcxxrt __gxx_personality_v0
function for c++ exceptions handling to work, as this bultin is used there.
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
flag information down from the Clang driver into the Gold linker plugin
for LTO. This allows specifying -march on the linker commandline and
should hopefully have it pass all the way through to the LTO optimizer.
Fixes PR14697.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172354 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 700d4e44793697288dd827c272ad363945f590a9)
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
| |
configure time
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
|
|
|
|
| |
-mfpu speecified
In case of hard floating point without -mfpu, take into account default configured
FPU if any.
And if no FPU is selected at all use vfp by default.
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
| |
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
| |
-mcpu are not specified
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |
|
|
|
|
| |
triples
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
spelling fixes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@170678 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| | |
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@170494 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| | |
Add support for current Ubuntu Quantal and the upcoming Raring.
Patch by Martin Nowack.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@170287 91177308-0d34-0410-b5e6-96231b3b80d8
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| | |
PR14549. Don't assert if we see an incomplete decltype specifier at the end of the file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@169722 91177308-0d34-0410-b5e6-96231b3b80d8
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix more try scoping bugs introduced by r167650.
Introduces more clear scoping flags & flag combinations which should hopefully
be more understandable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@169451 91177308-0d34-0410-b5e6-96231b3b80d8
|
| |\| |
|
| | |
| |
| |
| | |
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168917 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we have a MemberExpr referring to an overloaded static member function,
and we resolve it to a specific function based on the type which it's used as,
don't forget to mark it as referenced.
Fixes a regression introduced in r167514.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168888 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR13098: If we're instantiating an overloaded binary operator and we could
determine which member function would be the callee from within the template
definition, don't pass that function as a "non-member function" to
CreateOverloadedBinOp. Instead, just rely on it to select the member function
for itself.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168830 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| | |
clang/test: Suppress two tests on LLP64 target, Windows x64.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168823 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| | |
Fix the definition of the vfork() builtin on Haiku. PR14378.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168819 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix crash on end-of-file after \ in a char literal, fixes PR14369.
This makes LexCharConstant() look more like LexStringLiteral(), which doesn't
have this bug. Add tests for eof after \ for several other cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168808 91177308-0d34-0410-b5e6-96231b3b80d8
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| | |
clang/test/Sema/warn-documentation.cpp: Try to fix up the testcase in r168277.
-
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168732 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Documentation parsing: propely handle a lone '\endverbatim' and emit a warning.
We actually used to assert on this.
Thanks to NAKAMURA Takumi for noticing this!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168730 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
The ObjC++-to-C++ personality trick is only necessary on NeXT runtimes,
which is not coincidentally the only place it works, either (because
of how it tests for EH_TYPE symbols).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168611 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Move some GNUStep-specific code out of CGObjCGNU.
Patch by Jonathan Schleifer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168609 91177308-0d34-0410-b5e6-96231b3b80d8
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| | |
Update method calls to the new interface re r168354.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168487 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
block extended signatur option. Change previous option
to a cc1 -fencode-extended-block-signature and pass it
to cc1 and recognize this option to produce extended block
type signature. // rdar://12109031
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168419 91177308-0d34-0410-b5e6-96231b3b80d8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Completely re-work how the Clang driver interprets PIC and PIE options.
There were numerous issues here that were all entangled, and so I've
tried to do a general simplification of the logic.
1) The logic was mimicing actual GCC bugs, rather than "features". These
have been fixed in trunk GCC, and this fixes Clang as well. Notably,
the logic was always intended to be last-match-wins like any other
flag.
2) The logic for handling '-mdynamic-no-pic' was preposterously unclear.
It also allowed the use of this flag on non-Darwin platforms where it
has no actual meaning. Now this option is handled directly based on
tests of how llvm-gcc behaves, and it is only supported on Darwin.
3) The APIs for the Driver's ToolChains had the implementation ugliness
of dynamic-no-pic leaking through them. They also had the
implementation details of the LLVM relocation model flag names
leaking through.
4) The actual results of passing these flags was incorrect on Darwin in
many cases. For example, Darwin *always* uses PIC level 2 if it uses
in PIC level, and Darwin *always* uses PIC on 64-bit regardless of
the flags specified, including -fPIE. Darwin never compiles in PIE
mode, but it can *link* in PIE mode.
5) Also, PIC was not always being enabled even when PIE was. This isn't
a supported mode at all and may have caused some fallout in builds
with complex PIC and PIE interactions.
The result is (I hope) cleaner and clearer for readers. I've also left
comments and tests about some of the truly strage behavior that is
observed on Darwin platforms. We have no real testing of Windows
platforms and PIC, but I don't have the tools handy to figure that out.
Hopefully others can beef up our testing here.
Unfortunately, I can't test this for every platform. =/ If folks have
dependencies on these flags that aren't covered by tests, they may
break. I've audited and ensured that all the changes in behavior of the
existing tests are intentional and good. In particular I've tried to
make sure the Darwin behavior (which is more suprising than the Linux
behavior) also matches that of 'gcc' on my mac.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168416 91177308-0d34-0410-b5e6-96231b3b80d8
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix PR14321, a crash when Clang is built with GCC 4.7 at -O1 or greater.
GCC 4.7 reuses stack slots fairly aggressively, which exposes more temporary
lifetime bugs.
No new test, this was caught by the existing CodeGenCXX/mangle-ms-templates.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168331 91177308-0d34-0410-b5e6-96231b3b80d8
|