From 80bec83d8db7ea6c35f2c2cfdfd619ebd290e4e4 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 1 May 2014 18:13:24 +0000 Subject: [PATCH] Fix debug-info-alias test to add CHECK to some lines that were missing it. To simplify source location offsets, this test uses line directives to force particular lines of interest to have known line numbers so that adjustments before/after those points don't require updates to the CHECK lines. llvm-svn: 207779 --- clang/test/CodeGenCXX/debug-info-alias.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clang/test/CodeGenCXX/debug-info-alias.cpp b/clang/test/CodeGenCXX/debug-info-alias.cpp index e354ef0a7381..d294a0b0733a 100644 --- a/clang/test/CodeGenCXX/debug-info-alias.cpp +++ b/clang/test/CodeGenCXX/debug-info-alias.cpp @@ -21,8 +21,9 @@ x::bar bi; x::bar bf; using -// metadata [[NARF:![0-9]*]], i32 0, i32 1, {{.*}} ; [ DW_TAG_variable ] [n] -narf // [[NARF]] = {{.*}} ; [ DW_TAG_typedef ] [narf] [line [[@LINE]] +// CHECK: metadata [[NARF:![0-9]*]], i32 0, i32 1, {{.*}} ; [ DW_TAG_variable ] [n] +# 142 +narf // CHECK: [[NARF]] = {{.*}} ; [ DW_TAG_typedef ] [narf] [line 142 = int; narf n;