diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-07-23 22:58:46 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-07-23 22:58:46 +0000 |
commit | 54f10f8e68012217c5a72bc68d98104303a3c0e0 (patch) | |
tree | c7d98b8f654c58ef8d1e41a48ffaad327ebf79ad /llvm/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp | |
parent | f66e4f7dbd66ff3a9fdd33c4f6b21166ed8c5095 (diff) | |
download | bcm5719-llvm-54f10f8e68012217c5a72bc68d98104303a3c0e0.tar.gz bcm5719-llvm-54f10f8e68012217c5a72bc68d98104303a3c0e0.zip |
Handle DT_UNKNOWN correctly during directory iteration.
Unlike stat and lstat, where unknown really means we know it's something weird,
during directory iteration DT_UNKNOWN simply means that the underlying FS doesn't
support the dirent::dt_type field.
This patch fixes libc++ to correctly set the cache to empty when DT_UNKNOWN is reported.
llvm-svn: 337768
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp')
0 files changed, 0 insertions, 0 deletions