aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-06-24 06:40:51 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-06-24 06:40:51 +0000
commit11a54c3465a71c027841b83bc7f5f9df647618ff (patch)
tree4948cf053f5fe7e2159531e451fbfb51d588238f /llvm/lib/Object/ELFObjectFile.cpp
parentb17604535c9a18e440eca465f707aec4c4fc5854 (diff)
downloadllvm-11a54c3465a71c027841b83bc7f5f9df647618ff.zip
llvm-11a54c3465a71c027841b83bc7f5f9df647618ff.tar.gz
llvm-11a54c3465a71c027841b83bc7f5f9df647618ff.tar.bz2
AST: Address of dllimport functions isn't constant
The address of dllimport functions can be accessed one of two ways: - Through the IAT which is symbolically referred to with a symbol starting with __imp_. - Via the wrapper-function which ends up calling through the __imp_ symbol. The problem with using the wrapper-function is that it's address will not compare as equal in all translation units. Specifically, it will compare unequally with the translation unit which defines the function. This fixes PR19955. llvm-svn: 211570
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions