Specifies the source-code file; enables correlation of generated assembly code and source code.
.file "filename"
filename
Name of source-code file, in double quotes.
This directive is appropriate if you must explicitly provide a filename to the assembler as debugging information. Providing Debugging Information explains additional information about debugging.
The following listing shows how to use the .file directive for your own DWARF code.
.file "MyFile.c" .text .function "MyFunction",start,end-start start: .line 1 lwz r3, 0(r3) .line 2 blr end: