diff options
author | Reid Kleckner <rnk@google.com> | 2019-12-22 13:25:24 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-12-23 10:02:01 -0800 |
commit | a9fdfe63ce023b5aff0fb160375dd28eabf525df (patch) | |
tree | b9f1338781b2967cb5bc96c241fda8c0411cae95 /lldb/packages/Python/lldbsuite/test/python_api/module_section | |
parent | e7d5131d3b122cdae5442b02f60e8527423c40c3 (diff) | |
download | bcm5719-llvm-a9fdfe63ce023b5aff0fb160375dd28eabf525df.tar.gz bcm5719-llvm-a9fdfe63ce023b5aff0fb160375dd28eabf525df.zip |
Fix LLVM tool --version build mode printing for MSVC
LLVM tools such as llc print "DEBUG build" or "Optimized build" when
passed --version. Before this change, this was implemented by checking
for the __OPTIMIZE__ GCC macro. MSVC does not define this macro. For
MSVC, control this behavior with _DEBUG instead. It doesn't have
precisely the same meaning, but in most configurations, it will do the
right thing.
Fixes PR17752
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D71817
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/module_section')
0 files changed, 0 insertions, 0 deletions