aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-05-19 13:34:02 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-05-19 13:34:02 +0000
commitdd592ff467a1fd6ff983649bbaf746bd13542699 (patch)
tree7be98c2840e761f599f58718be9f11c42f1b8aa8 /clang/lib/Lex/ModuleMap.cpp
parent548e22a1a7313903a18b8a4382066fc907b848c5 (diff)
downloadllvm-dd592ff467a1fd6ff983649bbaf746bd13542699.zip
llvm-dd592ff467a1fd6ff983649bbaf746bd13542699.tar.gz
llvm-dd592ff467a1fd6ff983649bbaf746bd13542699.tar.bz2
Use write instead of read permissions to check for global sections on mac
Summary: The LINKEDIT section is very large and is read-only. Scanning this section caused LSan on darwin to be very slow. When only writable sections are scanned for global pointers, performance improved by a factor of about 25x. Reviewers: alekseyshl, kubamracek Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D33322 llvm-svn: 303422
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions