-; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux
-; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | \
+; RUN: llc < %s -mtriple=arm-linux | \
; RUN: grep {__DTOR_END__:}
-; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | \
-; RUN: grep {.section .dtors,"aw",.progbits}
+; RUN: llc < %s -mtriple=arm-linux | \
+; RUN: grep {\\.section.\\.dtors,"aw",.progbits}
+
+@__DTOR_END__ = internal global [1 x i32] zeroinitializer, section ".dtors" ; <[1 x i32]*> [#uses=0]
-%__DTOR_END__ = internal global [1 x int] zeroinitializer, section ".dtors"