summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-04-11 18:33:45 +0000
committerLang Hames <lhames@gmail.com>2016-04-11 18:33:45 +0000
commitf9033bbf54bded5103617dffbde41237fdae98c1 (patch)
treef8a759d8cb516cdc25e381884f6de1a51abbc936 /llvm/lib/MC/MCELFStreamer.cpp
parentf95164227e9ce6e09593ec71e5697c0471483984 (diff)
downloadbcm5719-llvm-f9033bbf54bded5103617dffbde41237fdae98c1.tar.gz
bcm5719-llvm-f9033bbf54bded5103617dffbde41237fdae98c1.zip
[Object] Make .alt_entry directive parsing MachO specific.
ELF and COFF will now treat .alt_entry like any other unrecognized directive. llvm-svn: 265975
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index 3be9ed5f6d7..1000da9e766 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/lib/MC/MCELFStreamer.cpp
@@ -285,7 +285,7 @@ bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
break;
case MCSA_AltEntry:
- report_fatal_error("ELF doesn't support the .alt_entry attribute");
+ llvm_unreachable("ELF doesn't support the .alt_entry attribute");
}
return true;
OpenPOWER on IntegriCloud