commit | 322f6d046b0761b941fcb94180a1a6e8bd628b64 | [log] [tgz] |
---|---|---|
author | Zachary Turner <zturner@google.com> | Sat Jul 21 15:39:05 2018 +0000 |
committer | Zachary Turner <zturner@google.com> | Sat Jul 21 15:39:05 2018 +0000 |
tree | 89f403b427cf60012625112d06cf7fd737238270 | |
parent | 0754d77d6ad98476da03f88c8ca54ce7149eeb3c [diff] |
[llvm-undname] Flush output before demangling. If an error occurs and we write it to stderr, it could appear before we wrote the mangled name which we're undecorating. By flushing stdout first, we ensure that the messages are always sequenced in the correct order. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337645 91177308-0d34-0410-b5e6-96231b3b80d8