about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/function-trace.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/function-trace.hh')
-rw-r--r--third_party/nix/src/libexpr/function-trace.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/nix/src/libexpr/function-trace.hh b/third_party/nix/src/libexpr/function-trace.hh
new file mode 100644
index 000000000000..6b810159b8fc
--- /dev/null
+++ b/third_party/nix/src/libexpr/function-trace.hh
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <chrono>
+
+#include "libexpr/eval.hh"
+
+namespace nix {
+
+struct FunctionCallTrace {
+  const Pos& pos;
+  FunctionCallTrace(const Pos& pos);
+  ~FunctionCallTrace();
+};
+}  // namespace nix