diff options
author | Martin Storsjo <martin@martin.st> | 2018-05-17 08:16:08 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-05-17 08:16:08 +0000 |
commit | c10788728bb5f15bff2c080e75831e3d710aa8f9 (patch) | |
tree | aeb0abbe7cb6416d658b3064132bfe9d12258e70 /lldb/packages/Python/lldbsuite/test/expression_command/call-function | |
parent | 295a554ce4a29ab2ef5e9ab538ac83596a536635 (diff) | |
download | bcm5719-llvm-c10788728bb5f15bff2c080e75831e3d710aa8f9.tar.gz bcm5719-llvm-c10788728bb5f15bff2c080e75831e3d710aa8f9.zip |
[Analysis] Only use _unlocked stdio functions on linux
The existing comment said that the functions were available only
on GNU/Linux (and on certain Android versions), but only checked
T.isGNUEnvironment() which also is true on MinGW (for arch-windows-gnu
triplets), which doesn't have such functions.
Existing checks in the initialize function in TargetLibraryInfo.cpp
also use only T.isOSLinux() to check for glibc features.
This fixes use of stdio on MinGW.
Differential Revision: https://reviews.llvm.org/D47002
llvm-svn: 332581
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function')
0 files changed, 0 insertions, 0 deletions