[cfe-commits] r146476 - /cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp

Chandler Carruth chandlerc at google.com
Mon Dec 12 21:33:14 PST 2011


On Mon, Dec 12, 2011 at 9:09 PM, Nick Lewycky <nicholas at mxc.ca> wrote:

> Author: nicholas
> Date: Mon Dec 12 23:09:22 2011
> New Revision: 146476
>
> URL: http://llvm.org/viewvc/llvm-project?rev=146476&view=rev
> Log:
> Testcase for LLVM commit r146475.
>

Why are the debug info tests in Clang? It seems like this should be an LLVM
test based on the debug info metadata in IR....


>
> Modified:
>    cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp
>
> Modified: cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp?rev=146476&r1=146475&r2=146476&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp (original)
> +++ cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp Mon Dec 12
> 23:09:22 2011
> @@ -1,5 +1,8 @@
> -// RUN: %clang_cc1 -g -S -masm-verbose -o %t %s
> -// RUN: grep DW_AT_accessibility %t
> +// RUN: %clang_cc1 -g -S -masm-verbose -o - %s | FileCheck %s
> +
> +// CHECK: abbrev_begin:
> +// CHECK: DW_AT_accessibility
> +// CHECK-NEXT: DW_FORM_data1
>
>  class A {
>  public:
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111212/89022083/attachment.html>


More information about the cfe-commits mailing list