- Feb 02, 2013
-
-
David Blaikie authored
This addresses several (not all) debug info tests that use explicit metadata numbers. Wherever the same number appeared more than once in a test I used a named match to ensure the same number appeared in all those cases (this may still be overly constraining test cases as they may not have actually cared about that relationship). For one-off numbers I just replaced them with an unnamed regex. This may underconstrain poorly written test cases that were interested in checking that certain metadata nodes were related but didn't actually match on all the related nodes numbers. llvm-svn: 174247
-
- Feb 01, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 174229
-
David Blaikie authored
r173593 made us a little too eager to associate all code at the end of a function with the user-written 'return' line. This caused problems with breakpoints as they'd be set in exception handling code preceeding the actual non-exception return handling code, leading to the breakpoint never being hit in non-exceptional execution. This change restores the pre-r173593 exception handling line information where the cleanup code is associated with the '}' not the return line. llvm-svn: 174206
-
John McCall authored
Previously we were only handling non-array fields of class type. Testcases derived from a patch by WenHan Gu. llvm-svn: 174146
-
Bill Wendling authored
This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111
-
- Jan 31, 2013
-
-
Tim Northover authored
In cooperation with the LLVM patch, this should implement all scalar front-end parts of the C and C++ ABIs for AArch64. This patch excludes the NEON support also reviewed due to an outbreak of batshit insanity in our legal department. That will be committed soon bringing the changes to precisely what has been approved. Further reviews would be gratefully received. llvm-svn: 174055
-
Douglas Gregor authored
constructor, retrieve our VTT parameter directly. Fixes PR14588 / <rdar://problem/12867962>. llvm-svn: 174042
-
- Jan 29, 2013
-
-
Bill Wendling authored
llvm-svn: 173762
-
- Jan 28, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 173720
-
- Jan 26, 2013
-
-
Tim Northover authored
Since ARM has diverging ABIs on this detail, it's probably worth testing both it and a "normal" Itanium system. llvm-svn: 173576
-
Fariborz Jahanian authored
for // rdar://11861085 llvm-svn: 173543
-
rdar://11861085Fariborz Jahanian authored
Title: [PR9027] volatile struct bug: member is not loaded at -O; This is caused by last flag passed to @llvm.memcpy being false, not honoring that aggregate has at least one 'volatile' data member (even though aggregate itself has not been qualified as 'volatile'. As a result, optimization optimizes away the memcpy altogether. Patch review by John MaCall (I still need to fix up a test though). llvm-svn: 173535
-
John McCall authored
ARM is not thinking about over-aligned structures. Overrule ARM in both our generic-ARM and iOS ABI implementations. llvm-svn: 173531
-
- Jan 25, 2013
-
-
John McCall authored
never key functions. We did not implement that rule for the iOS ABI, which was driven by what was implemented in gcc-4.2. However, implement it now for other ARM-based platforms. llvm-svn: 173515
-
NAKAMURA Takumi authored
clang/test/CodeGenCXX/debug-info-static-member.cpp: Appease targetting msvc to add explicit -target x86_64-unknown-unknown. with -target i686-win32, you will see; debug-info-static-member.cpp:11:22: error: in-class initializer for static data member of type 'const float' requires 'constexpr' specifier [-Wstatic-float-init] const static float const_b = 3.14; ^ ~~~~ constexpr llvm-svn: 173418
-
- Jan 21, 2013
-
-
Timur Iskhodzhanov authored
llvm-svn: 173035
-
David Blaikie authored
Looks like r161368 fixed this for one case but not all. This change generalizes the solution over all the unwrapping cases. Now that preserving the qualifiers is done independent of the particular type being unwrapped I won't bother adding test cases for each one but at least demonstrate that this change was necessary & sufficient to fix the bug. llvm-svn: 173002
-
- Jan 20, 2013
-
-
David Blaikie authored
llvm-svn: 172942
-
- Jan 19, 2013
-
-
David Blaikie authored
Adding the pseudo first parameter to a member function pointer's function type and mark it as artificial. Combined with a fix to GDB ( http://sourceware.org/bugzilla/show_bug.cgi?id=14998 ) this fixes gdb.cp/member-ptr.exp with Clang. llvm-svn: 172911
-
- Jan 17, 2013
-
-
Richard Smith authored
it apart from [[gnu::noreturn]] / __attribute__((noreturn)), since their semantics are not equivalent (for instance, we treat [[gnu::noreturn]] as affecting the function type, whereas [[noreturn]] does not). llvm-svn: 172691
-
- Jan 16, 2013
-
-
Eric Christopher authored
llvm-svn: 172648
-
Eric Christopher authored
order. Describe static data members to metadata using new interfaces. Part of PR14471. Patch by Paul Robinson! llvm-svn: 172591
-
- Jan 12, 2013
-
-
Rafael Espindola authored
The testcase in pr14929 shows that this is extremely hard to do. If we choose to apply the attribute, that causes the visibility of some decls to change and that can happen really late (during codegen). Current gcc warns and ignores the attribute in this testcase with a warning. This suggest that the correct solution is to find a point in the compilation where we can compute the visibility and * assert it was never computed before * reject any attempts to compute it again in the future (with warnings). llvm-svn: 172305
-
- Jan 11, 2013
-
-
Fariborz Jahanian authored
llvm-svn: 172221
-
-
Fariborz Jahanian authored
storage and thus is implicitly zero-initialized, no need to do C++11 memory model. This patch unconditionally detects such condition and zeroinitializer's the variable. Patch has been commented on and OKed by Doug off-line. // rdar://12897704 llvm-svn: 172144
-
- Jan 10, 2013
-
-
Nick Lewycky authored
PR14825! llvm-svn: 172031
-
- Jan 08, 2013
-
-
David Blaikie authored
llvm-svn: 171830
-
- Jan 07, 2013
-
-
David Blaikie authored
Using added LLVM functionality in r171698. This works in GDB for member variable pointers but not member function pointers. See the LLVM commit and GDB bug 14998 for details. Un-xfailing cases in the GDB 7.5 test suite will follow. llvm-svn: 171699
-
- Jan 05, 2013
-
-
David Blaikie authored
Based on code review feedback for r171604 from Chandler Carruth & Eric Christopher. Enabled by improvements to LLVM made in r171636. llvm-svn: 171637
-
David Blaikie authored
Catch some cases I'd missed in r171605 related to unnamed parameters of record type. This resolves all remaining cases of PR14573 suppression in the GDB 7.5 test suite. Fix to the test suite to follow. llvm-svn: 171633
-
David Blaikie authored
LLVM ignores this data for now - patch for that to follow. llvm-svn: 171605
-
David Blaikie authored
Referring back to the original commit (r115090) which was a frontend only test I adjusted this test to verify the frontend change that was made, to emit the protected access value in the flags metadata field. llvm-svn: 171604
-
David Blaikie authored
llvm-svn: 171602
-
- Jan 03, 2013
-
-
Eli Friedman authored
static local variable from the parent scope. PR14773. llvm-svn: 171433
-
- Dec 30, 2012
-
-
Will Dietz authored
llvm-svn: 171264
-
- Dec 25, 2012
-
-
Rafael Espindola authored
the body of a functions. The problem was that hasBody looks at the entire chain and causes problems to -fvisibility-inlines-hidden if the cache was not invalidated. Original message: Cache visibility of decls. This unifies the linkage and visibility caching. I first implemented this when working on pr13844, but the previous fixes removed the performance advantage of this one. This is still a step in the right direction for making linkage and visibility cheap to use. llvm-svn: 171053
-
- Dec 21, 2012
-
-
Richard Smith authored
Reinstate r170806, reverted in r170835, with a fix use i1 instead of i8 for a value-initialized bool! llvm-svn: 170837
-
NAKAMURA Takumi authored
Revert r170806, "Fix some bugs where we would sometimes use 0, not -1, when emitting a null constant of type pointer-to-data-member." It broke stage2. llvm-svn: 170835
-
Richard Smith authored
Fix some bugs where we would sometimes use 0, not -1, when emitting a null constant of type pointer-to-data-member. llvm-svn: 170806
-