diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-27 06:17:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-27 06:17:14 +0000 |
commit | e346694a81cbead3289d11057111fba46aa30aae (patch) | |
tree | 5d6f2b3e804a1d954d227dd4c7a38677976d5677 /lib/Target/SystemZ | |
parent | 5fe575ff4fdefc1b003a009b1b9282526a26c237 (diff) | |
download | external_llvm-e346694a81cbead3289d11057111fba46aa30aae.zip external_llvm-e346694a81cbead3289d11057111fba46aa30aae.tar.gz external_llvm-e346694a81cbead3289d11057111fba46aa30aae.tar.bz2 |
Eliminate getNamed/getUnnamedSection, adding a new and unified getOrCreateSection
instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ')
-rw-r--r-- | lib/Target/SystemZ/SystemZTargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp b/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp index 1f9d34f..0079586 100644 --- a/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp +++ b/lib/Target/SystemZ/SystemZTargetAsmInfo.cpp @@ -28,5 +28,5 @@ SystemZTargetAsmInfo::SystemZTargetAsmInfo(const SystemZTargetMachine &TM) NonexecutableStackDirective = "\t.section\t.note.GNU-stack,\"\",@progbits"; - BSSSection_ = getUnnamedSection("\t.bss", SectionKind::BSS); + BSSSection_ = getOrCreateSection("\t.bss", true, SectionKind::BSS); } |