summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/module_section
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-12-22 13:25:24 -0800
committerReid Kleckner <rnk@google.com>2019-12-23 10:02:01 -0800
commita9fdfe63ce023b5aff0fb160375dd28eabf525df (patch)
treeb9f1338781b2967cb5bc96c241fda8c0411cae95 /lldb/packages/Python/lldbsuite/test/python_api/module_section
parente7d5131d3b122cdae5442b02f60e8527423c40c3 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud