diff options
| author | Juergen Ributzka <juergen@apple.com> | 2013-11-15 22:34:48 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@apple.com> | 2013-11-15 22:34:48 +0000 |
| commit | dbedae89b90327ff464e8fc4d66bf328331b871c (patch) | |
| tree | 1df23eb275047b5e7e439c207911b1f051793dda /llvm/lib/MC/MCAtom.cpp | |
| parent | e79cef6ae102924cb842d97dbf7694665b76e283 (diff) | |
| download | bcm5719-llvm-dbedae89b90327ff464e8fc4d66bf328331b871c.tar.gz bcm5719-llvm-dbedae89b90327ff464e8fc4d66bf328331b871c.zip | |
[weak vtables] Remove a bunch of weak vtables
This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file.
Differential Revision: http://llvm-reviews.chandlerc.com/D2068
Reviewed by Andy
llvm-svn: 194865
Diffstat (limited to 'llvm/lib/MC/MCAtom.cpp')
| -rw-r--r-- | llvm/lib/MC/MCAtom.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAtom.cpp b/llvm/lib/MC/MCAtom.cpp index d0a64c30084..3da1ba3ae7a 100644 --- a/llvm/lib/MC/MCAtom.cpp +++ b/llvm/lib/MC/MCAtom.cpp @@ -14,6 +14,9 @@ using namespace llvm; +// pin vtable to this file +void MCAtom::anchor() {} + void MCAtom::remap(uint64_t NewBegin, uint64_t NewEnd) { Parent->remap(this, NewBegin, NewEnd); } |

