summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-06-22 10:27:33 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-06-22 10:27:33 +0000
commit6d448da1bef6ff485b1588136433ba5a58b2ccb0 (patch)
treee343cf1fa4e0ea268c3ed7622452cf83c248222b /llvm/lib/CodeGen
parente14485a0c61ab217f7a2d6f5c619d0158ad67492 (diff)
downloadbcm5719-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.cpp3
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;
OpenPOWER on IntegriCloud