[codeview] Add breaks to fix -Wimplicit-fallthrough
commita754e02f2afe50865de5b87a59c37463993ca606
authorReid Kleckner <rnk@google.com>
Thu, 1 Nov 2018 19:36:29 +0000 (1 19:36 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 1 Nov 2018 19:36:29 +0000 (1 19:36 +0000)
tree4e17dd2850a91ad739bcd3a3cd0677b204f25e50
parenta5b7f8b4abdc425dfd2ef141ebc13bb8c3567ffa
[codeview] Add breaks to fix -Wimplicit-fallthrough

This is a minor bug fix. Previously, if you tried to encode the RSP
register on the x86 platform, that might have succeeded and been encoded
incorrectly. However, no existing producer or consumer passes the x86_64
registers when targeting x86_32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345879 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/CodeView/SymbolRecordMapping.cpp