summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorXiangling Liao <xiangxdh@gmail.com>2019-09-26 19:38:32 +0000
committerXiangling Liao <xiangxdh@gmail.com>2019-09-26 19:38:32 +0000
commit3b808fb330dd4e2c8bf54e88e0a820e835c278b5 (patch)
tree024e4189b730ddb9ed75e0c801c0677dd7899123 /llvm/lib/MC/MCELFStreamer.cpp
parent4061a9b63a429885dfdc8b5d3371b9eb80fc7ad2 (diff)
downloadbcm5719-llvm-3b808fb330dd4e2c8bf54e88e0a820e835c278b5.tar.gz
bcm5719-llvm-3b808fb330dd4e2c8bf54e88e0a820e835c278b5.zip
[AIX]Emit function descriptor csect in assembly
This patch emits the function descriptor csect for functions with definitions under both 32-bit/64-bit mode on AIX. Differential Revision: https://reviews.llvm.org/D66724 llvm-svn: 373009
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index 816e742b263..e411e24921c 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/lib/MC/MCELFStreamer.cpp
@@ -277,6 +277,9 @@ bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
case MCSA_AltEntry:
llvm_unreachable("ELF doesn't support the .alt_entry attribute");
+
+ case MCSA_LGlobal:
+ llvm_unreachable("ELF doesn't support the .lglobl attribute");
}
return true;
OpenPOWER on IntegriCloud