[PATCH] D24644: Pass -ffunction-sections/-fdata-sections along to gold-plugin

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 27 08:08:19 PDT 2017


fhahn added a comment.

I'd like to fix PR22999 and was wondering if you think adding a function-section attribute to the IR would be a viable solution?

When doing LTO, we could add the same function-section to each function in a module in the IRLinker. @mehdi_amini did you think something like that when suggesting using attributes?

ps: Maybe it would be better to discuss this at the bug report, but this review seemed the easiest way to address the right people.


Repository:
  rL LLVM

https://reviews.llvm.org/D24644





More information about the cfe-commits mailing list