diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-29 22:24:22 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-29 22:24:22 +0000 |
commit | e4dd2e01323ab59dfb5766112fa34516f8fe6265 (patch) | |
tree | 6dc2e3effda59bb8126dd8daf757c4b81e047dba /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | |
parent | 119ad03c67ad93acb5830eb364ddd25abaa046e2 (diff) | |
download | bcm5719-llvm-e4dd2e01323ab59dfb5766112fa34516f8fe6265.tar.gz bcm5719-llvm-e4dd2e01323ab59dfb5766112fa34516f8fe6265.zip |
Add getSymbolAlignment to the ObjectFile interface.
For regular object files this is only meaningful for common symbols. An object
file format with direct support for atoms should be able to provide alignment
information for all symbols.
This replaces getCommonSymbolAlignment and fixes
test-common-symbols-alignment.ll on darwin. This also includes a fix to
MachOObjectFile::getSymbolFlags. It was marking undefined symbols as common
(already tested by existing mcjit tests now that it is used).
llvm-svn: 180736
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h index b6ddf2d6a7a..102b1c6b593 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h @@ -68,9 +68,6 @@ class RuntimeDyldELF : public RuntimeDyldImpl { int64_t Addend); - unsigned getCommonSymbolAlignment(const SymbolRef &Sym); - - uint64_t findPPC64TOC() const; void findOPDEntrySection(ObjectImage &Obj, ObjSectionToIDMap &LocalSections, |