Support -fdebug-prefix-map for assembler source (pass to cc1as). This
authorPaul Robinson <paul.robinson@sony.com>
Tue, 10 Jul 2018 15:15:24 +0000 (15:15 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 10 Jul 2018 15:15:24 +0000 (15:15 +0000)
commit9b292b45858865f754e0dbe72ec5699877adbdf9
tree590ae3073d7ac139ceff51bcc69d4ec6cfc34f85
parent509a1e7a9b444bccc88b57685a0e664f61c37f0e
Support -fdebug-prefix-map for assembler source (pass to cc1as).  This
is useful to omit the debug compilation dir when compiling assembly
files with -g.  Part of PR38050.

Patch by Siddhartha Bagaria!

Differential Revision: https://reviews.llvm.org/D48989

llvm-svn: 336685
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/debug-prefix-map.S [new file with mode: 0644]
clang/tools/driver/cc1as_main.cpp