R600: Call EmitFunctionHeader() in the AsmPrinter to populate the ELF symbol table

llvm-svn: 218776
diff --git a/llvm/test/CodeGen/R600/infinite-loop.ll b/llvm/test/CodeGen/R600/infinite-loop.ll
index 68ffaae..7bce2f3 100644
--- a/llvm/test/CodeGen/R600/infinite-loop.ll
+++ b/llvm/test/CodeGen/R600/infinite-loop.ll
@@ -1,6 +1,6 @@
 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
 
-; SI-LABEL: @infinite_loop:
+; SI-LABEL: {{^}}infinite_loop:
 ; SI: V_MOV_B32_e32 [[REG:v[0-9]+]], 0x3e7
 ; SI: BB0_1:
 ; SI: BUFFER_STORE_DWORD [[REG]]