Re: [GOOGLE] Check if varpool node exist for decl before checking if it's from auxiliary module.

2013-10-22 Thread Xinliang David Li
ok. David On Tue, Oct 22, 2013 at 10:51 AM, Dehao Chen wrote: > This is fixing a LIPO bug when there -fexception is on. > > When compilation is finished, compile_file calls > dw2_output_indirect_constants, which may generate decls like > DW.ref.__gxx_personality_v0 (generated in > dw2_output_ind

Re: [GOOGLE] Check if varpool node exist for decl before checking if it's from auxiliary module.

2013-10-22 Thread Rong Xu
seems fine to me for google branches. -Rong On Tue, Oct 22, 2013 at 10:51 AM, Dehao Chen wrote: > This is fixing a LIPO bug when there -fexception is on. > > When compilation is finished, compile_file calls > dw2_output_indirect_constants, which may generate decls like > DW.ref.__gxx_personality

[GOOGLE] Check if varpool node exist for decl before checking if it's from auxiliary module.

2013-10-22 Thread Dehao Chen
This is fixing a LIPO bug when there -fexception is on. When compilation is finished, compile_file calls dw2_output_indirect_constants, which may generate decls like DW.ref.__gxx_personality_v0 (generated in dw2_output_indirect_constant_1). This function is a global function, but does not have ass