diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-30 04:46:41 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-30 04:46:41 +0000 |
commit | 09f38a0ef13bf542f7b3f1862d718e33e7de587b (patch) | |
tree | c82a746a55e2173bda6e65335d953fcaf7d13eab /include | |
parent | 459c9497772f7d4e8567233a99f126198ec93b68 (diff) | |
download | llvm-09f38a0ef13bf542f7b3f1862d718e33e7de587b.tar.gz llvm-09f38a0ef13bf542f7b3f1862d718e33e7de587b.tar.bz2 llvm-09f38a0ef13bf542f7b3f1862d718e33e7de587b.tar.xz |
ARM IAS: support .object_arch
The .object_arch directive indicates an alternative architecture to be specified
in the object file. The directive does *not* effect the enabled feature bits
for the object file generation. This is particularly useful when the code
performs runtime detection and would like to indicate a lower architecture as
the requirements than the actual instructions used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index f272572bb6..4950197840 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -107,6 +107,7 @@ public: StringRef StringValue = "") = 0; virtual void emitFPU(unsigned FPU) = 0; virtual void emitArch(unsigned Arch) = 0; + virtual void emitObjectArch(unsigned Arch) = 0; virtual void finishAttributeSection() = 0; virtual void emitInst(uint32_t Inst, char Suffix = '\0') = 0; |