diff options
author | Kevin Enderby <enderby@apple.com> | 2010-09-30 16:38:07 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2010-09-30 16:38:07 +0000 |
commit | 8ebf66236e1a0a3f6796abcbf6be83eb6a55e3fa (patch) | |
tree | 6d38971e9692469dd0528ff526328c51adced42c /include | |
parent | 4ba2b65b8e3fd6f3c8a91873485aacff8bfe6128 (diff) | |
download | llvm-8ebf66236e1a0a3f6796abcbf6be83eb6a55e3fa.tar.gz llvm-8ebf66236e1a0a3f6796abcbf6be83eb6a55e3fa.tar.bz2 llvm-8ebf66236e1a0a3f6796abcbf6be83eb6a55e3fa.tar.xz |
Adds getPointerSize() to the AsmBackend which will be needed by the final patch
for the dwarf .loc support to emit dwarf line number tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetAsmBackend.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmBackend.h b/include/llvm/Target/TargetAsmBackend.h index 979595ad4f..b0a7af6371 100644 --- a/include/llvm/Target/TargetAsmBackend.h +++ b/include/llvm/Target/TargetAsmBackend.h @@ -101,6 +101,9 @@ public: /// has no actual object file contents. virtual bool isVirtualSection(const MCSection &Section) const = 0; + /// getPointerSize - Get the pointer size in bytes. + virtual unsigned getPointerSize() const = 0; + /// ApplyFixup - Apply the \arg Value for given \arg Fixup into the provided /// data fragment, at the offset specified by the fixup and following the /// fixup kind as appropriate. |