diff options
-rw-r--r-- | include/llvm/IR/DataLayout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/IR/DataLayout.h b/include/llvm/IR/DataLayout.h index 520d4ede18..9ffa056355 100644 --- a/include/llvm/IR/DataLayout.h +++ b/include/llvm/IR/DataLayout.h @@ -257,6 +257,7 @@ public: case MM_COFF: return '_'; } + llvm_unreachable("invalid mangling mode"); } const char *getPrivateGlobalPrefix() const { @@ -271,6 +272,7 @@ public: case MM_COFF: return "L"; } + llvm_unreachable("invalid mangling mode"); } static const char *getManglingComponent(const Triple &T); |