mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-07-19 15:13:37 -04:00
3ab27f6ce8
This patch adds an assertion check for exported read/write-only variables to be also in import list for module. If they aren't we may face linker errors, because read/write-only variables are internalized in their source modules. The patch also changes export lists to store ValueInfo instead of GUID for performance considerations. Differential revision: https://reviews.llvm.org/D70128