diff options
author | Lang Hames <lhames@gmail.com> | 2016-04-11 18:33:45 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-04-11 18:33:45 +0000 |
commit | f9033bbf54bded5103617dffbde41237fdae98c1 (patch) | |
tree | f8a759d8cb516cdc25e381884f6de1a51abbc936 /llvm/lib/MC/MCELFStreamer.cpp | |
parent | f95164227e9ce6e09593ec71e5697c0471483984 (diff) | |
download | llvm-f9033bbf54bded5103617dffbde41237fdae98c1.zip llvm-f9033bbf54bded5103617dffbde41237fdae98c1.tar.gz llvm-f9033bbf54bded5103617dffbde41237fdae98c1.tar.bz2 |
[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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp index 3be9ed5..1000da9 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; |