diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-08-07 13:27:41 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-08-07 13:27:41 +0000 |
commit | fff0f11989a9ef23ab3e308783cc90c7620000eb (patch) | |
tree | b44e00716fdd116c1a6505d1bd71f1ac1baab258 /include | |
parent | 0055fac7243626a7526c0f0823776e4b82ebd034 (diff) | |
download | external_llvm-fff0f11989a9ef23ab3e308783cc90c7620000eb.zip external_llvm-fff0f11989a9ef23ab3e308783cc90c7620000eb.tar.gz external_llvm-fff0f11989a9ef23ab3e308783cc90c7620000eb.tar.bz2 |
Roll back my last two commits, valgrind complains.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/Timer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h index a5a33ba..f959136 100644 --- a/include/llvm/Support/Timer.h +++ b/include/llvm/Support/Timer.h @@ -18,6 +18,7 @@ #include "llvm/System/DataTypes.h" #include "llvm/ADT/StringRef.h" #include <cassert> +#include <string> #include <vector> #include <utility> @@ -164,7 +165,7 @@ struct NamedRegionTimer : public TimeRegion { class TimerGroup { std::string Name; Timer *FirstTimer; // First timer in the group. - std::vector<std::pair<TimeRecord, StringRef> > TimersToPrint; + std::vector<std::pair<TimeRecord, std::string> > TimersToPrint; TimerGroup **Prev, *Next; // Doubly linked list of TimerGroup's. TimerGroup(const TimerGroup &TG); // DO NOT IMPLEMENT |