Use optimized hashing while writing time trace by join two hashes to one.
Used for -ftime-trace option.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 30212 Build 30211: arc lint + arc unit
Event Timeline
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
125 | use emplace_back here? |
Comment Actions
Updated, push_back() -> emplace_back()
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
125 | Yes, thanks. |
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
151 | better to include header for StringMap? |
Comment Actions
LGTM with nit.
But I hope rnk take a look.
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
137 | I prefer to reuse result of lookup for map here in L139. |
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
137 | Ok. |
use emplace_back here?