From 71d5a2540a98c81f5bcaeb48805e0e2881f530ef Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 16 Apr 2017 16:01:22 +0000 Subject: Vendor import of llvm trunk r300422: https://llvm.org/svn/llvm-project/llvm/trunk@300422 --- lib/Option/Arg.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Option/Arg.cpp') diff --git a/lib/Option/Arg.cpp b/lib/Option/Arg.cpp index c3de2d1a49657..3e8a1d802314b 100644 --- a/lib/Option/Arg.cpp +++ b/lib/Option/Arg.cpp @@ -61,7 +61,9 @@ void Arg::print(raw_ostream& O) const { O << "]>\n"; } +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) LLVM_DUMP_METHOD void Arg::dump() const { print(dbgs()); } +#endif std::string Arg::getAsString(const ArgList &Args) const { SmallString<256> Res; -- cgit v1.2.3