[llvm-bugs] [Bug 50004] -z separate-loadable-segments doesn't work with LTO enabled

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 28 22:14:33 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50004

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
                 CC|                            |i at maskray.me
             Status|NEW                         |RESOLVED

--- Comment #1 from Fangrui Song <i at maskray.me> ---
Can you provide the object file (or assembly) and the clang command line?

-z separate-loadable-segments is a no-op when you use SECTIONS.

As of

> LOAD           0x024328 0x0000028000022328 0x0000028000022328 0x006e80 0x01f2d1 RW  0x1000

it may be due to orphan section placement.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210729/139acedb/attachment.html>


More information about the llvm-bugs mailing list