aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2018-11-06 08:53:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2018-11-06 08:53:38 +0000
commit178d26fa18d3132d1b7d48bd2e64aaec2ee5966e (patch)
treeec7a43858f7c5edcb1a3237359cdb65314b21b06 /llvm/lib/Bitcode
parent25f8d204b828c534dabd90700e4efa6764508094 (diff)
downloadllvm-178d26fa18d3132d1b7d48bd2e64aaec2ee5966e.zip
llvm-178d26fa18d3132d1b7d48bd2e64aaec2ee5966e.tar.gz
llvm-178d26fa18d3132d1b7d48bd2e64aaec2ee5966e.tar.bz2
[sanitizer] Use AT_EXECFN in ReExec() if available
execve("/proc/self/exe") will not work if the binary relies on $EXEC_ORIGIN in an rpath. Query AT_EXECFN instead, which will give the same string that the current binary was exec'd with. Differential Revision: https://reviews.llvm.org/D54113 llvm-svn: 346215
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions