diff options
author | whitequark <whitequark@whitequark.org> | 2017-12-25 13:27:56 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2017-12-25 13:27:56 +0000 |
commit | fa83ee25234589316253a5070823e153a9724347 (patch) | |
tree | 09c4ea7f318e69059111d534ee3701304211a83e /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 91e49066e3067bcc585c434490ba73aef1c3988e (diff) | |
download | llvm-fa83ee25234589316253a5070823e153a9724347.zip llvm-fa83ee25234589316253a5070823e153a9724347.tar.gz llvm-fa83ee25234589316253a5070823e153a9724347.tar.bz2 |
[libunwind] convert error logs to _LIBUNWIND_LOG/_LIBUNWIND_LOG0.
Use the `_LIBUNWIND_LOG` and `_LIBUNWIND_LOG0` macros instead of
the explicit `fprintf` call.
This was previously done in r292721 as a cleanup and then reverted
in r293257 because the implementation in r292721 relied on a GNU
extension. This implementation avoids the use of an extension
by using a second macro instead, and allows to avoid the dependency
on fprintf if _LIBUNWIND_BARE_METAL is defined.
llvm-svn: 321441
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions