[PATCH] D43578: -ftime-report switch support in Clang
Russell Gallop via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 11 05:24:40 PDT 2018
russell.gallop added a comment.
We also see an assertion failure prior to the revert. At r329738:
$ cat test.cpp
template <class> struct A {
template <class _Other> using rebind_alloc = _Other;
};
template <class _Alloc> struct _Wrap_alloc {
template <class _Other>
using rebind_alloc = typename A<_Alloc>::template rebind_alloc<_Other>;
template <class> using rebind = _Wrap_alloc;
};
_Wrap_alloc<int>::rebind<int> w;
$ clang++ -c test.cpp
$ clang++ -c test.cpp -ftime-report
clang-7: llvm/lib/Support/Timer.cpp:133: void llvm::Timer::startTimer(): Assertion `!Running && "Cannot start a running timer"' failed.
Repository:
rL LLVM
https://reviews.llvm.org/D43578
More information about the cfe-commits
mailing list