-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'confirmedVerified by a second partyVerified by a second party
Description
| Bugzilla Link | 30662 |
| Version | 10.0 |
| OS | Windows NT |
| Reporter | LLVM Bugzilla Contributor |
| CC | @MaskRay,@nabeelomer,@VictorYing,@yuanfang-chen |
Extended Description
$ touch /tmp/test.c && ./bin/clang -mllvm -print-before=verify -c -emit-llvm /tmp/1.c
clang (LLVM option parsing): for the -print-before option: Cannot find option named 'verify'!
Looks like the passes were not registered by the time we parse the command line when invoked with clang. However, the option works perfectly fine with "llc". FYI, same is the case with "-mllvm print-after=<pass_name>
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'confirmedVerified by a second partyVerified by a second party