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 | bad267fa05854d89e1e7b86e9333b6ee17b11266 (patch) | |
tree | e6ae4a25c1304617b797568d4444233fddf98b57 /llvm/lib/Target/ARM/ARMAsmBackend.cpp | |
parent | f25bc19e171fb501ac9a11cf99527e0e3f6a43b7 (diff) | |
download | bcm5719-llvm-bad267fa05854d89e1e7b86e9333b6ee17b11266.tar.gz bcm5719-llvm-bad267fa05854d89e1e7b86e9333b6ee17b11266.zip |
Adds getPointerSize() to the AsmBackend which will be needed by the final patch
for the dwarf .loc support to emit dwarf line number tables.
llvm-svn: 115153
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmBackend.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMAsmBackend.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/ARMAsmBackend.cpp index f13c2bbf482..9de6eba09fa 100644 --- a/llvm/lib/Target/ARM/ARMAsmBackend.cpp +++ b/llvm/lib/Target/ARM/ARMAsmBackend.cpp @@ -84,6 +84,10 @@ public: /*IsLittleEndian=*/true, /*HasRelocationAddend=*/false); } + + unsigned getPointerSize() const { + return 4; + }; }; // Fixme: can we raise this to share code between Darwin and ELF? @@ -116,6 +120,10 @@ public: return new MachObjectWriter(OS, /*Is64Bit=*/false); } + unsigned getPointerSize() const { + return 4; + }; + virtual bool doesSectionRequireSymbols(const MCSection &Section) const { return false; } |