summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-08-09 04:44:15 +0000
committerRui Ueyama <ruiu@google.com>2013-08-09 04:44:15 +0000
commit908606d0a9194b9097a081e548ce43e12617a4db (patch)
treedfda78079ca85ea5ea0e1af0c8be3936bde5b49d /clang/lib/CodeGen/CodeGenModule.cpp
parent0ecb26a79e39149be95562240e03686421cd84c2 (diff)
downloadbcm5719-llvm-908606d0a9194b9097a081e548ce43e12617a4db.tar.gz
bcm5719-llvm-908606d0a9194b9097a081e548ce43e12617a4db.zip
[PECOFF] Create __ImageBase symbol.
__ImageBase is a symbol having 4 byte integer equal to the image base address of the resultant executable. The linker is expected to create the symbol as if it were read from a file. In order to emit the symbol contents only when the symbol is actually referenced, we created a pseudo library file to wrap the linker generated symbol. The library file member is emitted to the output only when the member is actually referenced, which is suitable for our purpose. llvm-svn: 188052
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud