diff options
| author | Michal Gorny <mgorny@gentoo.org> | 2019-01-02 17:37:09 +0000 |
|---|---|---|
| committer | Michal Gorny <mgorny@gentoo.org> | 2019-01-02 17:37:09 +0000 |
| commit | 71a75307aed22d92641c6a9b5912f40a88b014ce (patch) | |
| tree | 387c71d54af40a2a7525eaac3910133036558bc4 /llvm/lib/CodeGen | |
| parent | 7cab4722d3d1ba985ecba34745a346ede0289f8f (diff) | |
| download | bcm5719-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

