]> granicus.if.org Git - clang/commit
Fix asm label testcase flaw
authorGraham Yiu <graham.yiu@huawei.com>
Fri, 3 Aug 2018 14:36:44 +0000 (14:36 +0000)
committerGraham Yiu <graham.yiu@huawei.com>
Fri, 3 Aug 2018 14:36:44 +0000 (14:36 +0000)
commite9fbbe52f18826d5e44aaf596a59439cab4f4c60
tree88b01eaf91af5168d14922a0784851126388cb79
parent8e5ddf3158499e3da17a01a504a99df45b82570c
Fix asm label testcase flaw

- Testcase attempts to (not) grep 'g0' in output to ensure asm symbol is
  properly renamed, but g0 is too generic and can be part of the
  module's path in LLVM IR output.
- Changed to grep '@g0', which is what the proper global symbol name
  would be if not using asm.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338895 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/2008-07-31-asm-labels.c