summaryrefslogtreecommitdiff
path: root/tools/llvm-xray/xray-stacks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-xray/xray-stacks.cc')
-rw-r--r--tools/llvm-xray/xray-stacks.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvm-xray/xray-stacks.cc b/tools/llvm-xray/xray-stacks.cc
index 40dcc31cd1f..d727496f4e7 100644
--- a/tools/llvm-xray/xray-stacks.cc
+++ b/tools/llvm-xray/xray-stacks.cc
@@ -321,7 +321,8 @@ public:
AccountRecordState *state) {
auto &TS = ThreadStackMap[R.TId];
switch (R.Type) {
- case RecordTypes::ENTER: {
+ case RecordTypes::ENTER:
+ case RecordTypes::ENTER_ARG: {
state->wasLastRecordExit = false;
// When we encounter a new function entry, we want to record the TSC for
// that entry, and the function id. Before doing so we check the top of