aboutsummaryrefslogblamecommitdiff
path: root/test/CodeGen/X86/commandline-metadata.ll
blob: de77dd27b160b4a617bddcbe9d9b2e62e5ca3fc9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                     
; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
; Verify that llvm.commandline metadata is emitted to a section named
; .GCC.command.line with each line separated with null bytes.

; CHECK: .section .GCC.command.line,"MS",@progbits,1
; CHECK-NEXT: .zero 1
; CHECK-NEXT: .ascii "clang -command -line"
; CHECK-NEXT: .zero 1
; CHECK-NEXT: .ascii "something else"
; CHECK-NEXT: .zero 1
!llvm.commandline = !{!0, !1}
!0 = !{!"clang -command -line"}
!1 = !{!"something else"}