diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-09-25 08:56:00 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-09-25 08:56:00 +0000 |
commit | 63799f6febc91ebec0d308737bfd1c659e4c24b7 (patch) | |
tree | 903e88117c4c01774ca744ba11ec343ecb5f2b7f | |
parent | e8a665f696b60834a3087e3d5bccf8cacf3ca39d (diff) | |
download | external_llvm-63799f6febc91ebec0d308737bfd1c659e4c24b7.zip external_llvm-63799f6febc91ebec0d308737bfd1c659e4c24b7.tar.gz external_llvm-63799f6febc91ebec0d308737bfd1c659e4c24b7.tar.bz2 |
[msan] Fix -Wreturn-type warnings in non-self-hosted build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191361 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Instrumentation/MemorySanitizer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/lib/Transforms/Instrumentation/MemorySanitizer.cpp index eafa2b6..65db206 100644 --- a/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -918,6 +918,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> { case SequentiallyConsistent: return SequentiallyConsistent; } + llvm_unreachable("Unknown ordering"); } AtomicOrdering addAcquireOrdering(AtomicOrdering a) { @@ -934,6 +935,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> { case SequentiallyConsistent: return SequentiallyConsistent; } + llvm_unreachable("Unknown ordering"); } // ------------------- Visitors. |