diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-16 01:05:45 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-16 01:05:45 +0000 |
commit | 5645bade1bcde40a768b7daa43d8e0878243aae1 (patch) | |
tree | a6d5eac3733cdb125baa15eb3c36c9ce07c8e8f8 /llvm/lib/MC/MCPureStreamer.cpp | |
parent | b01a3bec88f240b4e2b39424f6aa78c6bd7b8f8a (diff) | |
download | bcm5719-llvm-5645bade1bcde40a768b7daa43d8e0878243aae1.tar.gz bcm5719-llvm-5645bade1bcde40a768b7daa43d8e0878243aae1.zip |
Move .ident handling to MCStreamer.
No functionality change, but exposes the API so that codegen can use it too.
Patch by Katya Romanova.
llvm-svn: 192757
Diffstat (limited to 'llvm/lib/MC/MCPureStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCPureStreamer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCPureStreamer.cpp b/llvm/lib/MC/MCPureStreamer.cpp index e5843b3da5f..f7bf002fbc6 100644 --- a/llvm/lib/MC/MCPureStreamer.cpp +++ b/llvm/lib/MC/MCPureStreamer.cpp @@ -94,6 +94,9 @@ public: virtual void EmitFileDirective(StringRef Filename) { report_fatal_error("unsupported directive in pure streamer"); } + virtual void EmitIdent(StringRef IdentString) { + report_fatal_error("unsupported directive in pure streamer"); + } virtual bool EmitDwarfFileDirective(unsigned FileNo, StringRef Directory, StringRef Filename, unsigned CUID = 0) { report_fatal_error("unsupported directive in pure streamer"); |