fix indentation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-07-21 17:25:13 +00:00
parent da6c240423
commit 1010c21e4e

View File

@ -251,34 +251,34 @@ TargetAsmInfo::SectionFlagsForGlobal(const GlobalValue *GV,
if (GV) { if (GV) {
SectionKind::Kind Kind = SectionKindForGlobal(GV); SectionKind::Kind Kind = SectionKindForGlobal(GV);
switch (Kind) { switch (Kind) {
case SectionKind::Text: case SectionKind::Text:
Flags |= SectionFlags::Code; Flags |= SectionFlags::Code;
break; break;
case SectionKind::ThreadData: case SectionKind::ThreadData:
case SectionKind::ThreadBSS: case SectionKind::ThreadBSS:
Flags |= SectionFlags::TLS; Flags |= SectionFlags::TLS;
// FALLS THROUGH // FALLS THROUGH
case SectionKind::Data: case SectionKind::Data:
case SectionKind::DataRel: case SectionKind::DataRel:
case SectionKind::DataRelLocal: case SectionKind::DataRelLocal:
case SectionKind::DataRelRO: case SectionKind::DataRelRO:
case SectionKind::DataRelROLocal: case SectionKind::DataRelROLocal:
case SectionKind::BSS: case SectionKind::BSS:
Flags |= SectionFlags::Writeable; Flags |= SectionFlags::Writeable;
break; break;
case SectionKind::ROData: case SectionKind::ROData:
case SectionKind::RODataMergeStr: case SectionKind::RODataMergeStr:
case SectionKind::RODataMergeConst: case SectionKind::RODataMergeConst:
// No additional flags here // No additional flags here
break; break;
case SectionKind::SmallData: case SectionKind::SmallData:
case SectionKind::SmallBSS: case SectionKind::SmallBSS:
Flags |= SectionFlags::Writeable; Flags |= SectionFlags::Writeable;
// FALLS THROUGH // FALLS THROUGH
case SectionKind::SmallROData: case SectionKind::SmallROData:
Flags |= SectionFlags::Small; Flags |= SectionFlags::Small;
break; break;
default: default:
llvm_unreachable("Unexpected section kind!"); llvm_unreachable("Unexpected section kind!");
} }