Using the integrated assembler we'd fail to change section to the
authorEric Christopher <echristo@gmail.com>
Wed, 7 Aug 2013 21:13:06 +0000 (21:13 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 7 Aug 2013 21:13:06 +0000 (21:13 +0000)
commit10251753b6897adcd22cc981c0cc42f348c109de
treedfdb342d5f31bd6ebca834fdfea929fd0b16cb90
parent189f7983fb300357712689733f65dde9e3658a14
Using the integrated assembler we'd fail to change section to the
.tbss section for zerofill thread locals. Make sure we do this
before emitting the zerofills.

Fixes PR15972.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187913 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/MC/MachO/tlv-bss.ll [new file with mode: 0644]