Closed
Description
Bugzilla Link | 11740 |
Resolution | FIXED |
Resolved on | Apr 19, 2016 19:48 |
Version | trunk |
OS | Linux |
Blocks | llvm/llvm-bugzilla-archive#24345 |
Reporter | LLVM Bugzilla Contributor |
CC | @compnerd |
Extended Description
$ cat x.s
.file "x.ll"
$ clang -g x.s -c -o x.o
x.s:1:2: error: input can't have .file dwarf directives when -g is used to generate dwarf debug info for assembly code
.file "x.ll"
^
Yes, I'd like to pass -g to the compiler even when its input is a .s file. Even if the compiler isn't generating debug info so to speak. Please don't error on this!