1 // RUN
: llvm-mc
-g
-triple i386-unknown-unknown
%s | FileCheck
-check-prefix
=CHECK-DEFAULT
%s
2 // RUN
: llvm-mc
-g
-triple i386-unknown-unknown
%s
-filetype
=obj | obj2yaml | FileCheck
-check-prefix
=CHECK-DEBUG
%s
5 // This testcase has
a single function
and a .file directive
6 // without the
[file-num
] argument. When compiled with
-g
,
7 // this testcase will
not report error
, and generate new
17 // CHECK-DEFAULT
: .file "hello"
19 // CHECK-DEBUG
: Sections
:
20 // CHECK-DEBUG
: - Name
: .text
21 // CHECK-DEBUG
: - Name
: .debug_info
22 // CHECK-DEBUG
: - Name
: .rel.debug_info
23 // CHECK-DEBUG
: Info
: .debug_info
24 // CHECK-DEBUG
: Symbols
: