[PATCH] D31870: [XRay][tools] Fix an accounting bug in llvm-xray account

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 11:13:59 PDT 2017


dblaikie added inline comments.


================
Comment at: test/tools/llvm-xray/X86/account-empty-stack-error.yaml:15-16
+# which should be handled with grace (i.e. we treat it as an error, but since
+# the llvm-xray account tool has an option to keep going, gives the user a
+# chance to retry).
+  - { type: 0, func-id: 1, cpu: 1, thread: 1, kind: function-exit, tsc: 10000}
----------------
Is the "keep going" functionality sufficiently tested? (Does this new error path present an interesting/new case of "keep going" that's worth testing separately - or is the functionality sufficiently generic that the existing testing covers enough here)


https://reviews.llvm.org/D31870





More information about the llvm-commits mailing list