diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-05-19 13:34:02 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-05-19 13:34:02 +0000 |
commit | dd592ff467a1fd6ff983649bbaf746bd13542699 (patch) | |
tree | 7be98c2840e761f599f58718be9f11c42f1b8aa8 /clang/lib/Lex/ModuleMap.cpp | |
parent | 548e22a1a7313903a18b8a4382066fc907b848c5 (diff) | |
download | llvm-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