[llvm-bugs] [Bug 39526] New: "-enable-machine-outliner" creates symbols with non-unique names

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 1 17:47:22 PDT 2018


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

            Bug ID: 39526
           Summary: "-enable-machine-outliner" creates symbols with
                    non-unique names
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: agrieve at google.com
                CC: llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Notice when compiling Chrome for Arm64 that there are a lot of symbols called
"OUTLINED_FUNCTION_1", "OUTLINED_FUNCTION_2", ...

Chrome uses an orderfile to optimize the layout of functions within the binary,
but these outlined symbols are ambiguous when listed in an orderfile.

It would be great if the outlined functions could be given unique names (and
stable) names. E.g. using a hash of some sort (maybe of the source path).

-- 
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/20181102/7c4c727d/attachment.html>


More information about the llvm-bugs mailing list