@@ -155,7 +155,7 @@ options:
155
155
-O optimize
156
156
-S compile only; do not assemble or link
157
157
-c compile and assemble, but do not link
158
- --bitcode produce an LLVM bitcode file
158
+ --emit-llvm produce an LLVM bitcode file
159
159
--save-temps write intermediate files in addition to normal output
160
160
--stats gather and report various compilation statistics
161
161
--time-passes time the individual phases of the compiler
@@ -207,7 +207,7 @@ fn main(vec[str] args) {
207
207
208
208
auto opts = vec ( optflag ( "h" ) , optflag ( "help" ) ,
209
209
optflag ( "v" ) , optflag ( "version" ) ,
210
- optflag ( "glue" ) , optflag ( "bitcode " ) ,
210
+ optflag ( "glue" ) , optflag ( "emit-llvm " ) ,
211
211
optflag ( "pretty" ) , optflag ( "ls" ) , optflag ( "parse-only" ) ,
212
212
optflag ( "O" ) , optflag ( "shared" ) , optmulti ( "L" ) ,
213
213
optflag ( "S" ) , optflag ( "c" ) , optopt ( "o" ) , optflag ( "g" ) ,
@@ -250,7 +250,7 @@ fn main(vec[str] args) {
250
250
output_type = link:: output_type_assembly;
251
251
} else if ( opt_present( match , "c" ) ) {
252
252
output_type = link:: output_type_object;
253
- } else if ( opt_present( match , "bitcode " ) ) {
253
+ } else if ( opt_present( match , "emit-llvm " ) ) {
254
254
output_type = link:: output_type_bitcode;
255
255
}
256
256
0 commit comments