[LLVMbugs] [Bug 23257] New: [LegacyPassManager] Add -print-func-after-all command-line options

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 16 15:03:27 PDT 2015


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

            Bug ID: 23257
           Summary: [LegacyPassManager] Add -print-func-after-all
                    command-line options
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: mcrosier at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Similar to the -mllvm -print-after-all command-line option, it would be nice to
have an option that does the same, but on a per function basis (e.g.,
-print-func-after-all="funcname").  In the past I've used llvm-extract to
extract the function in question and then run opt/llc, but it's difficult to
match the behavior of the -O options (e.g., -O3) accepted by clang and those
accepted by opt and llc.

This should also work for the related command-line options (e.g.,
-print-before-all, -print-before=<pass name>).

-- 
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/20150416/b472cef3/attachment.html>


More information about the llvm-bugs mailing list