[all-commits] [llvm/llvm-project] ecb310: [Error] Make llvm::cantFail include the original e...
Don Hinton via All-commits
all-commits at lists.llvm.org
Thu Oct 17 14:53:10 PDT 2019
Author: Don Hinton <hintonda at gmail.com>
Date: 2019-10-17 (Thu, 17 Oct 2019)
[Error] Make llvm::cantFail include the original error messages
The current implementation eats the current errors and just outputs
the message parameter passed to llvm::cantFail. This change appends
the original error message(s), so the user can see exactly why
cantFail failed. New logic is conditional on NDEBUG.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D69057
More information about the All-commits