llvm-project/llvm/test/tools/gold
Jan Wen Voung c11b45a2ea 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
2015-02-11 16:12:50 +00:00
..
Inputs Handle a symbol being undefined. 2015-01-14 13:53:50 +00:00
alias.ll Remember to eraseFromParent after replaceAllUsesWith. 2014-09-10 19:39:41 +00:00
bad-alias.ll Add support for comdats to the gold plugin. 2014-08-22 23:26:10 +00:00
bcsection.ll LTO: introduce object file-based on-disk module format. 2014-09-18 21:28:49 +00:00
coff.ll Remember the unmangled name in the plugin. 2014-12-09 16:50:57 +00:00
comdat.ll Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
common.ll Internalize common symbols when we can. 2014-09-17 20:41:13 +00:00
emit-llvm.ll Fix linking of shared libraries. 2015-01-14 20:08:46 +00:00
invalid.ll gold plugin: Fix handling of corrupted bitcode files. 2014-07-29 20:46:19 +00:00
linker-script.ll Add a test showing the interaction of linker scripts and plugin. 2014-08-05 19:56:53 +00:00
linkonce-weak.ll gold plugin: Handle gold selecting a linkonce GV when a weak is present. 2014-10-07 04:06:13 +00:00
lit.local.cfg The gold tests also require ppc to be compiled in. 2014-09-05 19:01:12 +00:00
mtriple.ll Rewrite the gold plugin to fix pr19901. 2014-08-21 20:28:55 +00:00
no-map-whole-file.ll Gold-plugin: Broaden scope of get/release_input_file to scope of Module. 2015-02-11 16:12:50 +00:00
option.ll Fix the test. 2014-11-12 14:23:04 +00:00
pr19901.ll Update to not depend on "llvm-objdump -d -symbolize". 2014-09-03 16:16:02 +00:00
slp-vectorize.ll Enable the slp vectorizer in the gold plugin. 2014-10-30 00:38:54 +00:00
stats.ll This test requires asserts because of -stats. 2014-11-25 20:56:56 +00:00
vectorize.ll Enable the loop vectorizer in the gold plugin. 2014-10-30 00:11:24 +00:00
weak.ll Make the test a bit more strict. 2014-08-12 15:55:27 +00:00