5 Commits

Author SHA1 Message Date
Vitaly Buka
048cf8857e
[ModuleUtils] Add transformGlobal{C,D}tors (#101757)
For #101772
2024-08-02 16:54:44 -07:00
Vitaly Buka
a0a9bf5152
[NFC][ModuleUtils] Test appendToGlobalCtors/appendToGlobalDtors (#101753) 2024-08-02 16:39:57 -07:00
Vitaly Buka
88ef76c4ef
[NFC][ModuleUtils] Rename test function (#101750) 2024-08-02 15:35:27 -07:00
Arthur Eubanks
4e6013250d [NFC][OpaquePtr] Use GlobalValue::getValueType() more
Instead of getType()->getElementType().
2021-07-09 09:55:41 -07:00
Reshabh Sharma
ed51156084 [ModuleUtils] NFC: Add unit tests for appendToUsedList
This patch adds initial unit tests for appendToUsedList
in the ModuleUtils. It specifically tests changes from
https://reviews.llvm.org/D101363 which intent to allow
insertion of globals in non-zero address spaces into the
llvm used lists.

Reviewed by: dblaikie

Differential Revision: https://reviews.llvm.org/D101746
2021-05-04 12:05:50 +05:30