diff options
| author | Rui Ueyama <ruiu@google.com> | 2013-10-25 22:36:21 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2013-10-25 22:36:21 +0000 |
| commit | 1b6456101327096f04ac12fe7e65345c63a15f79 (patch) | |
| tree | 450788dd0a7093301b69843275f24f32a813f3de | |
| parent | b96752ad96bdf0a14a9c2b0dfc400ad8b33d489b (diff) | |
| download | bcm5719-llvm-1b6456101327096f04ac12fe7e65345c63a15f79.tar.gz bcm5719-llvm-1b6456101327096f04ac12fe7e65345c63a15f79.zip | |
[PECOFF] Fix XML output bug.
We really need a test for the manifest file output, but because it depends
on external commands (CVTRES.EXE and RC.EXE), it's not very easy to write it.
llvm-svn: 193445
| -rw-r--r-- | lld/lib/Driver/WinLinkDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Driver/WinLinkDriver.cpp b/lld/lib/Driver/WinLinkDriver.cpp index a62063b51ff..73af12b2bd2 100644 --- a/lld/lib/Driver/WinLinkDriver.cpp +++ b/lld/lib/Driver/WinLinkDriver.cpp @@ -254,7 +254,7 @@ void quoteAndPrintXml(raw_ostream &out, StringRef str) { return; StringRef line; llvm::tie(line, str) = str.split("\n"); - if (!line.empty()) + if (line.empty()) continue; out << '\"'; const char *p = line.data(); |

