[PATCH] D51138: [Error] Add runtime flag BreakOnError and a debug trap in the Error class

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 23 08:24:46 PDT 2018


lhames added a comment.

Hi Stefan,

I usually find it better to put a breakpoint on the ErrorInfoBase constructor: that way you don't hit breakpoints when errors are just passed around.

Would using a breakpoint on ErrorInfoBase address your use case?


Repository:
  rL LLVM

https://reviews.llvm.org/D51138





More information about the llvm-commits mailing list