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

            Bug ID: 44910
           Summary: clang-cl: /Gy support
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangb...@nondot.org
          Reporter: yuryb...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

clang-cl driver translates /Gy option to -ffunction-sections (see
\clang\include\clang\Driver\CLCompatOptions.td Line 99).

But looks like -ffunction-sections doesn't work on Windows with COFF.
Documentation says:
-ffunction-sections, -fno-function-sections
Place each function in its own section (ELF Only)

How to get this functionality on Windows?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to