diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-07-07 05:18:35 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-07-07 05:18:35 +0000 |
| commit | 763f9a50a5234fb27c0f03efd54b87ccdd7ca080 (patch) | |
| tree | 1e7b41fe1ff5795440dfad0362468ca395b5db87 /clang/lib/CodeGen/CGLoopInfo.cpp | |
| parent | 220a0448887e36265efcd590b372f41dec4c7359 (diff) | |
| download | bcm5719-llvm-763f9a50a5234fb27c0f03efd54b87ccdd7ca080.tar.gz bcm5719-llvm-763f9a50a5234fb27c0f03efd54b87ccdd7ca080.zip | |
ARM: properly lower dllimport'ed global values
This completes the handling for DLL import storage symbols when lowering
instructions. A DLL import storage symbol must have an additional load
performed prior to use. This is applicable to variables and functions.
This is particularly important for non-function symbols as it is possible to
handle function references by emitting a thunk which performs the translation
from the unprefixed __imp_ symbol to the proper symbol (although, this is a
non-optimal lowering). For a variable symbol, no such thunk can be
accommodated.
llvm-svn: 212431
Diffstat (limited to 'clang/lib/CodeGen/CGLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions

