mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Driver] Pass -emit-irgen thru to frontend.
Add a new filetype for this mode option: "Raw LLVM IR". When the mode option is emit-irgen, the new filetype will be the output kind; conversely when determining the mode option to use, if the output kind is the new filetype, the mode option will be emit-irgen.
This commit is contained in:
3
test/Driver/emit-irgen.swift
Normal file
3
test/Driver/emit-irgen.swift
Normal file
@@ -0,0 +1,3 @@
|
||||
// RUN: %swiftc_driver -### -emit-irgen %s -o - | %FileCheck %s
|
||||
|
||||
// CHECK: -emit-irgen
|
||||
Reference in New Issue
Block a user