diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-04 12:45:27 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-04 12:45:27 +0000 |
commit | 84f5cd75b382257b664260ceb769e06d3843c408 (patch) | |
tree | 098adb1857bea2d149d9e5f46fea358ac92c5f03 /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | 9bd763679fe97593cc9a660c37d5ab00e9bfec06 (diff) | |
download | bcm5719-llvm-84f5cd75b382257b664260ceb769e06d3843c408.tar.gz bcm5719-llvm-84f5cd75b382257b664260ceb769e06d3843c408.zip |
Fix MSVC "not all control paths return a value" warning. NFCI.
llvm-svn: 373741
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp index 5a495594045..f1b237d83e8 100644 --- a/llvm/lib/CodeGen/LiveDebugValues.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues.cpp @@ -311,6 +311,7 @@ private: case InvalidKind: llvm_unreachable("Tried to produce DBG_VALUE for invalid VarLoc"); } + llvm_unreachable("Unrecognized LiveDebugValues.VarLoc.Kind enum"); } /// Is the Loc field a constant or constant object? |