Commit Graph

2 Commits

Author SHA1 Message Date
Chuanqi Xu 8e7d5d5863 [NFC] Add missing ABI requirement from the previous patch 2022-10-18 13:16:04 +08:00
Chuanqi Xu db82096ff0 [NFC] [C++20] [Modules] Test if the functions in importee are generated
In O0, all the functions (except the always-inline-functions) in the importee
shouldn't be imported for compilation speeds.

But with optimizations, all the potentially called function in the
importee should be imported to not prevent any inter-procedural
optimizations (primarily inline), which is pretty important for runtime
performances.

This patch adds the tests for the feature.
2022-10-18 11:40:49 +08:00