[llvm-commits] [llvm] r76587 - /llvm/trunk/lib/Target/TargetAsmInfo.cpp
Chris Lattner
sabre at nondot.org
Tue Jul 21 10:25:14 PDT 2009
Author: lattner
Date: Tue Jul 21 12:25:13 2009
New Revision: 76587
URL: http://llvm.org/viewvc/llvm-project?rev=76587&view=rev
Log:
fix indentation
Modified:
llvm/trunk/lib/Target/TargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetAsmInfo.cpp?rev=76587&r1=76586&r2=76587&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/TargetAsmInfo.cpp Tue Jul 21 12:25:13 2009
@@ -251,34 +251,34 @@
if (GV) {
SectionKind::Kind Kind = SectionKindForGlobal(GV);
switch (Kind) {
- case SectionKind::Text:
+ case SectionKind::Text:
Flags |= SectionFlags::Code;
break;
- case SectionKind::ThreadData:
- case SectionKind::ThreadBSS:
+ case SectionKind::ThreadData:
+ case SectionKind::ThreadBSS:
Flags |= SectionFlags::TLS;
// FALLS THROUGH
- case SectionKind::Data:
- case SectionKind::DataRel:
- case SectionKind::DataRelLocal:
- case SectionKind::DataRelRO:
- case SectionKind::DataRelROLocal:
- case SectionKind::BSS:
+ case SectionKind::Data:
+ case SectionKind::DataRel:
+ case SectionKind::DataRelLocal:
+ case SectionKind::DataRelRO:
+ case SectionKind::DataRelROLocal:
+ case SectionKind::BSS:
Flags |= SectionFlags::Writeable;
break;
- case SectionKind::ROData:
- case SectionKind::RODataMergeStr:
- case SectionKind::RODataMergeConst:
+ case SectionKind::ROData:
+ case SectionKind::RODataMergeStr:
+ case SectionKind::RODataMergeConst:
// No additional flags here
break;
- case SectionKind::SmallData:
- case SectionKind::SmallBSS:
+ case SectionKind::SmallData:
+ case SectionKind::SmallBSS:
Flags |= SectionFlags::Writeable;
// FALLS THROUGH
- case SectionKind::SmallROData:
+ case SectionKind::SmallROData:
Flags |= SectionFlags::Small;
break;
- default:
+ default:
llvm_unreachable("Unexpected section kind!");
}
More information about the llvm-commits
mailing list