commit | 8704b7897db5d877970bde2c8d6766488c457b90 | [log] [tgz] |
---|---|---|
author | Kevin Enderby <enderby@apple.com> | Wed Jan 11 18:04:47 2012 +0000 |
committer | Kevin Enderby <enderby@apple.com> | Wed Jan 11 18:04:47 2012 +0000 |
tree | 81e81f6dbcd74fa2459ac7a212c531b1191343ab | |
parent | 46df3adb4e12e7f607a5bd21335311604834ba7e [diff] |
The error check for using -g with a .s file already containing dwarf .file directives was in the wrong place and getting triggered incorectly with a cpp .file directive. This change fixes that and adds a test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147951 91177308-0d34-0410-b5e6-96231b3b80d8