summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-01-02 17:37:09 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-01-02 17:37:09 +0000
commit71a75307aed22d92641c6a9b5912f40a88b014ce (patch)
tree387c71d54af40a2a7525eaac3910133036558bc4 /llvm/lib/CodeGen
parent7cab4722d3d1ba985ecba34745a346ede0289f8f (diff)
downloadbcm5719-llvm-71a75307aed22d92641c6a9b5912f40a88b014ce.tar.gz
bcm5719-llvm-71a75307aed22d92641c6a9b5912f40a88b014ce.zip
[sanitizer_common] Implement popen, popenve, pclose interceptors
Implement the interceptors for popen(), pclose() and popenve() functions. The first two are POSIX, the third one is specific to NetBSD. popen() spawns a process and creates a FILE object piping data from/to that process. pclose() closes the pipe and waits for the process to terminate appropriately. For the purpose of popen(), the COMMON_INTERCEPTOR_FILE_OPEN macro is modified to allow null path parameter. Differential Revision: https://reviews.llvm.org/D56157 llvm-svn: 350232
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud