[PATCH] D25690: [X86] Correct the number of bits in a fixup

Douglas Katzman via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 12:21:42 PDT 2016


dougk added a comment.

We can change it from an assert to report_fatal_error, but we can't actually distinguish at this point whether it was in fact a user error versus whether it was an internal bug.
I guess I agree that dumping core is a bit sad for the user error case.  Would you prefer it always to say this instead?

clang -cc1as: fatal error: error in backend: Value does not fit in fixup


https://reviews.llvm.org/D25690





More information about the llvm-commits mailing list