summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/Linker.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-01-17 19:50:42 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-01-17 19:50:42 +0000
commit6600516a58947a8be49ba8c8be178ab48924516b (patch)
treefc8aa68dac2c2d85bf5e2bb452e4f9026883e174 /llvm/lib/Linker/Linker.cpp
parent94b8cdbf5512ab4ffac0dc09f58ea70c87797546 (diff)
downloadbcm5719-llvm-6600516a58947a8be49ba8c8be178ab48924516b.tar.gz
bcm5719-llvm-6600516a58947a8be49ba8c8be178ab48924516b.zip
Have ReExec read environment from /proc/self/environ
It is possible for ReExec to be called before the C standard library has initialised itself sufficiently for execv to work properly. Fix this by parsing the environment ourselves and using execve. Differential Revision: http://llvm-reviews.chandlerc.com/D304 llvm-svn: 172748
Diffstat (limited to 'llvm/lib/Linker/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud