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
This commit is contained in:
Kevin Enderby
2010-09-30 16:38:07 +00:00
parent 4ba2b65b8e
commit 8ebf66236e
3 changed files with 34 additions and 0 deletions

View File

@@ -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.