[libcxxabi] r207481 - Add unwind test case that checks restoring of float registers (such as on AArch64)
Jonathan Roelofs
jonathan at codesourcery.com
Mon Apr 28 18:27:36 PDT 2014
On 4/28/14, 6:08 PM, Nick Kledzik wrote:
> +__attribute__((noinline))
> +double get(int x) { return (double)x; }
> +
> +
> +double try1(bool v) {
> + double a = get(0);
> + double b = get(0);
> + if (v) throw 10;
> + return get(0)+a+b;
> +}
> +
Might be useful to template all of these on the float type and then check all
three of {float,double,long double} to make sure those paths work too.
Cheers,
Jon
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the cfe-commits
mailing list