[PATCH] D43184: [WIP] [ItaniunCXXABI] Add an option for loading the type info vtable with dllimport

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 12 09:41:07 PST 2018


smeenai added a comment.

FYI, binutils auto-import actually creates a fake IAT entry rather than using a dynamic initializer. I think it's actually a pretty cute trick. http://blog.omega-prime.co.uk/2011/07/04/everything-you-never-wanted-to-know-about-dlls/#how-auto-import-works has details. That only works when you're referencing an external imported symbol directly though, and breaks when you need an offset from the imported symbol.


Repository:
  rC Clang

https://reviews.llvm.org/D43184





More information about the cfe-commits mailing list