summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize
diff options
context:
space:
mode:
authorJan Wen Voung <jvoung@google.com>2015-02-11 16:12:50 +0000
committerJan Wen Voung <jvoung@google.com>2015-02-11 16:12:50 +0000
commitc11b45a2ea0dc7cfb91f4e5565a2ebc6719c43bf (patch)
tree8d0308d16609a0904524b2e25fce8c4e90569125 /clang-tools-extra/modularize
parentbf8d0cc699b171c72a8fe48c67431d0a2e0a3a5d (diff)
downloadbcm5719-llvm-c11b45a2ea0dc7cfb91f4e5565a2ebc6719c43bf.tar.gz
bcm5719-llvm-c11b45a2ea0dc7cfb91f4e5565a2ebc6719c43bf.zip
Gold-plugin: Broaden scope of get/release_input_file to scope of Module.
Summary: Move calls to get_input_file and release_input_file out of getModuleForFile(). Otherwise release_input_file may end up unmapping a view of the file while the view is still being used by the Module (on 32-bit hosts). Fix for PR22482. Test Plan: Add test using --no-map-whole-files. Reviewers: rafael, nlewycky Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7539 llvm-svn: 228842
Diffstat (limited to 'clang-tools-extra/modularize')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud