[Support] Force instantiation of isl dump() methods. NFC.
commit365946895ffc3780b4e8cd874bb61d5410197139
authorMichael Kruse <llvm@meinersbur.de>
Thu, 28 Sep 2017 09:51:04 +0000 (28 09:51 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Thu, 28 Sep 2017 09:51:04 +0000 (28 09:51 +0000)
tree791784ba024c0db6096234650fa5ff3d504950cd
parent0db98a4837b6f233063307bb9184374175401922
[Support] Force instantiation of isl dump() methods. NFC.

In order for debuggers to be able to call an inline method, it must have
been instantiated somewhere. The dump() methods are usually not used, so
add an instantiation in debug builds.

This allows to call .dump() on any isl++ object from the gcc/gdb and
Visual Studio debugger in debug builds with assertions enabled.
In optimized builds, even with assertions enabled, the dump() methods
are also inlined in GICHelper.cpp, so no externally visible symbols
will be available either.

Differential Revision: https://reviews.llvm.org/D38198

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@314395 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/GICHelper.cpp