[PATCH] D33513: [ThinLTO] Fix ThinLTO crash while destroying context

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 09:24:46 PDT 2017


mehdi_amini added inline comments.


================
Comment at: test/Linker/Inputs/lazy-load-temporaries-cleanup.b.ll:5
+
+!llvm.asan.globals = !{!0, !2, !4, !6, !8, !10, !12}
+
----------------
ncharlie wrote:
> dexonsmith wrote:
> > Does this need to be `!llvm.asan.globals`, or can you make it `!named` and then prune the arguments to something minimal?
> I can use `!named` but I don't think I can simplify the number of arguments any further, otherwise lazy loading isn't triggered.
There is an option in the bitcode reader/writer  to disable the threshold of the minimum number of MDs to trigger lazy-loading.


https://reviews.llvm.org/D33513





More information about the llvm-commits mailing list