r189276 - Test

David Blaikie dblaikie at gmail.com
Mon Aug 26 13:38:38 PDT 2013


On Mon, Aug 26, 2013 at 1:33 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Author: dblaikie
> Date: Mon Aug 26 15:33:16 2013
> New Revision: 189276
>
> URL: http://llvm.org/viewvc/llvm-project?rev=189276&view=rev
> Log:
> Test

Sorry for the noise, this should've been squashed into r189277.

>
> Modified:
>     cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp
>
> Modified: cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp?rev=189276&r1=189275&r2=189276&view=diff
> ==============================================================================
> --- cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp (original)
> +++ cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp Mon Aug 26 15:33:16 2013
> @@ -12,6 +12,7 @@ int test() {
>
>  static int i = test();
>  __attribute__((nodebug)) static int j = test();
> +static int k = test();
>
>  int main(void) {}
>
> @@ -26,5 +27,12 @@ int main(void) {}
>  // CHECK: %[[C1:.+]] = call i32 @_Z4testv()
>  // CHECK-NOT: dbg
>  // CHECK: store i32 %[[C1]], i32* @_ZL1j, align 4
> +//
> +// CHECK-LABEL: define internal void @__cxx_global_var_init2()
> +// CHECK-NOT: __cxx_global_var_init
> +// CHECK: %[[C2:.+]] = call i32 @_Z4testv(), !dbg ![[LINE2:.*]]
> +// CHECK-NOT: __cxx_global_var_init
> +// CHECK: store i32 %[[C2]], i32* @_ZL1k, align 4, !dbg
>  //
>  // CHECK: ![[LINE]] = metadata !{i32 13, i32
> +// CHECK: ![[LINE]] = metadata !{i32 15, i32
>
>
> _______________________________________________
> 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