OSDN Git Service

[MC] Add llvm_unreachable to toString to fix compile time warning.
authorFlorian Hahn <florian.hahn@arm.com>
Tue, 1 May 2018 11:18:31 +0000 (11:18 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Tue, 1 May 2018 11:18:31 +0000 (11:18 +0000)
commitfb5fad4f7cfd6b47e40d4d1d0f855b3ebeed37a3
tree542b4c926f714b2e4e62927f8983c7208eaaa4fe
parent863acbcdf35c048901f69e7f013ccbb08960501f
[MC] Add llvm_unreachable to toString to fix compile time warning.

Without this change, GCC 7 raises the warning below:
        control reaches end of non-void function

Reviewers: sbc100, andreadb

Reviewed By: andreadb

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331255 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WasmObjectWriter.cpp