@@ -66,6 +66,7 @@ pub static no_prepopulate_passes: uint = 1 << 25;
6666pub static use_softfp: uint = 1 << 26 ;
6767pub static gen_crate_map: uint = 1 << 27 ;
6868pub static prefer_dynamic: uint = 1 << 28 ;
69+ pub static no_integrated_as: uint = 1 << 29 ;
6970
7071pub fn debugging_opts_map ( ) -> ~[ ( & ' static str , & ' static str , uint ) ] {
7172 ~[ ( "verbose" , "in general, enable more debug printouts" , verbose) ,
@@ -117,6 +118,8 @@ pub fn debugging_opts_map() -> ~[(&'static str, &'static str, uint)] {
117118 ( "soft-float" , "Generate software floating point library calls" , use_softfp) ,
118119 ( "gen-crate-map" , "Force generation of a toplevel crate map" , gen_crate_map) ,
119120 ( "prefer-dynamic" , "Prefer dynamic linking to static linking" , prefer_dynamic) ,
121+ ( "no-integrated-as" ,
122+ "Use external assembler rather than LLVM's integrated one" , no_integrated_as) ,
120123 ]
121124}
122125
@@ -335,6 +338,9 @@ impl Session_ {
335338 pub fn prefer_dynamic ( & self ) -> bool {
336339 self . debugging_opt ( prefer_dynamic)
337340 }
341+ pub fn no_integrated_as ( & self ) -> bool {
342+ self . debugging_opt ( no_integrated_as)
343+ }
338344
339345 // pointless function, now...
340346 pub fn str_of ( & self , id : ast:: Ident ) -> @str {
0 commit comments