; RUN: llc -march=x86 < %s | FileCheck %s
; Verify that llvm.ident metadata is emitted as .ident
; directives in assembly files, and in the .comment section in ELF object files.

; CHECK: .ident  "clang version x.x"
; CHECK-NEXT: .ident  "something else"
!llvm.ident = !{!0, !1}
!0 = metadata !{metadata !"clang version x.x"}
!1 = metadata !{metadata !"something else"}

; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
; Verify that llvm.ident metadata is emitted as .ident
; directives in assembly files, and in the .comment section in ELF object files.

; CHECK: .ident  "clang version x.x"
; CHECK-NEXT: .ident  "something else"
!llvm.ident = !{!0, !1}
!0 = metadata !{metadata !"clang version x.x"}
!1 = metadata !{metadata !"something else"}

Add a triple to this test.
Add a triple to this test.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@192767 91177308-0d34-0410-b5e6-96231b3b80d8
