summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/codegen-opt.test
Commit message (Collapse)AuthorAgeFilesLines
* Modular Codegen: Don't home/modularize static functions in headersDavid Blaikie2017-11-021-3/+9
| | | | | | | | | | | | | | | | Consistent with various workarounds in the backwards compatible modules that allow static functions in headers to exist, be deduplicated to some degree, and not generally fail right out of the gate... do the same with modular codegen as there are enough cases (including in libstdc++ and in LLVM itself - though I cleaned up the easy ones) that it's worth supporting as a migration/backcompat step. Simply create a separate, internal linkage function in each object that needs it. If an available_externally/modularized function references a static function, but the modularized function is eventually dropped and not inlined, the static function will be dropped as unreferenced. llvm-svn: 317274
* Initialize builtins during modular codegenDavid Blaikie2017-02-081-0/+65
llvm-svn: 294512
OpenPOWER on IntegriCloud