llvm-6502/test/MC/AsmParser/directive_file.s
Nick Lewycky 44d798d976 Add support for a new extension to the .file directive:
.file filenumber "directory" "filename"

This removes one join+split of the directory+filename in MC internals. Because
bitcode files have independent fields for directory and filenames in debug info,
this patch may change the .o files written by existing .bc files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142300 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-17 23:05:28 +00:00

10 lines
229 B
ArmAsm

# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
.file "hello"
.file 1 "world"
.file 2 "directory" "file"
# CHECK: .file "hello"
# CHECK: .file 1 "world"
# CHECK: .file 2 "directory" "file"