Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.

llvm-svn: 305145
This commit is contained in:
Galina Kistanova 2017-06-10 08:06:17 +00:00
parent cc29dbfc62
commit 0c10465a57

View File

@ -515,6 +515,7 @@ void Util::organizeSections() {
// Main executables, need a zero-page segment
segmentForName("__PAGEZERO");
// Fall into next case.
LLVM_FALLTHROUGH;
case llvm::MachO::MH_DYLIB:
case llvm::MachO::MH_BUNDLE:
// All dynamic code needs TEXT segment to hold the load commands.