]> granicus.if.org Git - llvm/commit
[NFC][AIX] Use assert instead of llvm_unreachable
authorDavid Tenty <daltenty@ibm.com>
Tue, 13 Aug 2019 17:04:51 +0000 (17:04 +0000)
committerDavid Tenty <daltenty@ibm.com>
Tue, 13 Aug 2019 17:04:51 +0000 (17:04 +0000)
commit1269c3a3b67d1807793b6c960651475779a765c9
treeb8338a3e559738c972c945a4a70319bfcaca001b
parentdb1d61d71576a20de43ebc95b850e8ad1baeb278
[NFC][AIX] Use assert instead of llvm_unreachable

Addresses post-commit comments on https://reviews.llvm.org/D64825. Use
assert instead of llvm_unreachable to check if invalid csect types are being
generated. Use report_fatal_error on unimplemented XCOFF features.

Differential Revision: https://reviews.llvm.org/D64825

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368720 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/MC/MCAsmStreamer.cpp
lib/MC/MCSectionXCOFF.cpp
lib/MC/MCXCOFFStreamer.cpp