diff options
author | Ben Burdette <bburdette@protonmail.com> | 2022-05-06 08:47:21 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@protonmail.com> | 2022-05-06 08:47:21 -0600 |
commit | 2c9fafdc9e43f6da39c289888dedbbbf0ea0b208 (patch) | |
tree | 8756b9a7c6be51c139ee54c7bbd552a2b3aba878 /src/libexpr/eval.hh | |
parent | 99d69ac23faf06598ca0aabd61d22a575db848df (diff) |
trying debugThrow
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 65b1466ea..add104a84 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -127,7 +127,11 @@ public: bool debugStop; bool debugQuit; std::list<DebugTrace> debugTraces; - void debugLastTrace(Error & e) const; + + [[gnu::noinline, gnu::noreturn]] + void debugThrow(const Error &error, const Env & env, const Expr & expr) const; + [[gnu::noinline, gnu::noreturn]] + void debugThrowLastTrace(Error & e) const; private: SrcToStore srcToStore; |