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 | c7ce3e4f42219003f30382be17d966cb2dfb4e71 (patch) | |
tree | 682db2c5d6612be584c612b334e7f54af0b2094f /include/llvm/MC/MCStreamer.h | |
parent | e5fdae03a4137267ae124a35aef11f72bb6aa13b (diff) | |
download | external_llvm-c7ce3e4f42219003f30382be17d966cb2dfb4e71.zip external_llvm-c7ce3e4f42219003f30382be17d966cb2dfb4e71.tar.gz external_llvm-c7ce3e4f42219003f30382be17d966cb2dfb4e71.tar.bz2 |
Move .ident handling to MCStreamer.
No functionality change, but exposes the API so that codegen can use it too.
Patch by Katya Romanova.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCStreamer.h')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index d24f3fd..974feea 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -571,6 +571,10 @@ public: /// implement the '.file "foo.c"' assembler directive. virtual void EmitFileDirective(StringRef Filename) = 0; + /// Emit the "identifiers" directive. This implements the + /// '.ident "version foo"' assembler directive. + virtual void EmitIdent(StringRef IdentString) {} + /// EmitDwarfFileDirective - Associate a filename with a specified logical /// file number. This implements the DWARF2 '.file 4 "foo.c"' assembler /// directive. |