r184596 - Aggregate & rename limit debug info tests.

David Blaikie dblaikie at gmail.com
Fri Jun 21 15:26:43 PDT 2013


On Fri, Jun 21, 2013 at 3:18 PM, Michael Gottesman <mgottesman at apple.com> wrote:
> It looks like this broke buildbots:
>
> http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/3315
> http://lab.llvm.org:8013/builders/phase1%20-%20sanity/builds/7768

Yep, no idea why that only showed up on some machines, but I fixed it
in 184598, I believe.

>
> On Jun 21, 2013, at 2:23 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
> Author: dblaikie
> Date: Fri Jun 21 16:23:18 2013
> New Revision: 184596
>
> URL: http://llvm.org/viewvc/llvm-project?rev=184596&view=rev
> Log:
> Aggregate & rename limit debug info tests.
>
> Added:
>    cfe/trunk/test/CodeGenCXX/debug-info-limited.cpp
>      - copied, changed from r184594,
> cfe/trunk/test/CodeGenCXX/debug-info-limit.cpp
> Removed:
>    cfe/trunk/test/CodeGenCXX/debug-info-limit.cpp
> Modified:
>    cfe/trunk/test/CodeGenCXX/debug-info-class-limited.cpp
>
> Modified: cfe/trunk/test/CodeGenCXX/debug-info-class-limited.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-class-limited.cpp?rev=184596&r1=184595&r2=184596&view=diff
> ==============================================================================
> --- cfe/trunk/test/CodeGenCXX/debug-info-class-limited.cpp (original)
> +++ cfe/trunk/test/CodeGenCXX/debug-info-class-limited.cpp Fri Jun 21
> 16:23:18 2013
> @@ -9,6 +9,28 @@ struct foo {
>
> typedef foo bar;
>
> -bar *f;
> -bar g;
> +bar *a;
> +bar b;
> +}
> +
> +namespace test1 {
> +struct foo {
> +  int i;
> +};
> +
> +foo *foo(foo *a) {
> +  foo *b = new foo(*a);
> +  return b;
> +}
> +}
> +
> +namespace test2 {
> +struct foo {
> +  int i;
> +};
> +
> +extern int bar(foo *a);
> +int baz(foo *a) {
> +  return bar(a);
> +}
> }
>
> Removed: cfe/trunk/test/CodeGenCXX/debug-info-limit.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-limit.cpp?rev=184595&view=auto
> ==============================================================================
> --- cfe/trunk/test/CodeGenCXX/debug-info-limit.cpp (original)
> +++ cfe/trunk/test/CodeGenCXX/debug-info-limit.cpp (removed)
> @@ -1,28 +0,0 @@
> -// RUN: %clang  -emit-llvm -g -S %s -o - | FileCheck %s
> -
> -// TAG_member is used to encode debug info for 'z' in A.
> -// CHECK: TAG_member
> -class A {
> -public:
> -  int z;
> -};
> -
> -A *foo (A* x) {
> -  A *a = new A(*x);
> -  return a;
> -}
> -
> -// Verify that we're not emitting a full definition of B in limit debug
> mode.
> -// RUN: %clang -emit-llvm -g -flimit-debug-info -S %s -o - | FileCheck %s
> -// CHECK-NOT: TAG_member
> -
> -class B {
> -public:
> -  int y;
> -};
> -
> -extern int bar(B *b);
> -int baz(B *b) {
> -  return bar(b);
> -}
> -
>
> Copied: cfe/trunk/test/CodeGenCXX/debug-info-limited.cpp (from r184594,
> cfe/trunk/test/CodeGenCXX/debug-info-limit.cpp)
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-limited.cpp?p2=cfe/trunk/test/CodeGenCXX/debug-info-limited.cpp&p1=cfe/trunk/test/CodeGenCXX/debug-info-limit.cpp&r1=184594&r2=184596&rev=184596&view=diff
> ==============================================================================
>    (empty)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>



More information about the cfe-commits mailing list