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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to