diff options
author | Rui Ueyama <ruiu@google.com> | 2016-05-24 03:16:51 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-05-24 03:16:51 +0000 |
commit | afa35a2a37b2c488142a723686031a22c032f8ad (patch) | |
tree | 34073628c8a0864df64cb8d96f9f00f54fb1c4c5 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | f5febef2496cc3a8530441908b2b75755af329b1 (diff) | |
download | bcm5719-llvm-afa35a2a37b2c488142a723686031a22c032f8ad.tar.gz bcm5719-llvm-afa35a2a37b2c488142a723686031a22c032f8ad.zip |
Remove Writer::ensureBss().
Previously, we created a .bss section when needed. We had a function
ensureBss() for that purpose. Turned out that was error-prone
because it was easy to forget to call that function before accessing
the .bss section.
This patch always make the BSS section. The section is added to the
output when it's not empty.
llvm-svn: 270527
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions