[PATCH] D18041: [ELF] use fatal() instead of llvm_unreachable when performing relaxations.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 10 09:46:41 PST 2016
>How does using assert help? llvm_unreachable(msg) is basically assert(0 && msg);
Nohow, sorry, for some reason I thought it has form with Twine& argument,
was confused it with error().
Then possible solution looks a bit ugly for me:
llvm_unreachable((Twine("Unknown TLS optimization: ") + Twine(Type)).str().c_str());
>Cheers,
>Rafael
More information about the llvm-commits
mailing list