diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-06-22 10:27:33 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-06-22 10:27:33 +0000 |
commit | 6d448da1bef6ff485b1588136433ba5a58b2ccb0 (patch) | |
tree | e343cf1fa4e0ea268c3ed7622452cf83c248222b /llvm/lib/CodeGen | |
parent | e14485a0c61ab217f7a2d6f5c619d0158ad67492 (diff) | |
download | bcm5719-llvm-6d448da1bef6ff485b1588136433ba5a58b2ccb0.tar.gz bcm5719-llvm-6d448da1bef6ff485b1588136433ba5a58b2ccb0.zip |
Revert r335332 "[MC] - Add .stack_size sections into groups and link them with .text"
It broke bots.
http://lab.llvm.org:8011/builders/clang-ppc64le-linux-lnt/builds/12891
http://lab.llvm.org:8011/builders/clang-cmake-x86_64-sde-avx512-linux/builds/9443
http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-buildserver/builds/25551
llvm-svn: 335333
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 1b1edfbd154..9a74917b05e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -989,8 +989,7 @@ void AsmPrinter::emitStackSizeSection(const MachineFunction &MF) { if (!MF.getTarget().Options.EmitStackSizeSection) return; - MCSection *StackSizeSection = - getObjFileLowering().getStackSizesSection(*getCurrentSection()); + MCSection *StackSizeSection = getObjFileLowering().getStackSizesSection(); if (!StackSizeSection) return; |