[llvm-commits] [llvm] r124150 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp

Eric Christopher echristo at apple.com
Mon Jan 24 14:50:58 PST 2011


On Jan 24, 2011, at 2:38 PM, Anton Korobeynikov wrote:

> Author: asl
> Date: Mon Jan 24 16:38:40 2011
> New Revision: 124150
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=124150&view=rev
> Log:
> Support printing exception section into the current one. This is the case when LSDASection is blank
> 
> Modified:
>    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
> 
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp?rev=124150&r1=124149&r2=124150&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp Mon Jan 24 16:38:40 2011
> @@ -451,7 +451,8 @@
>   }
> 
>   // Begin the exception table.
> -  Asm->OutStreamer.SwitchSection(LSDASection);
> +  if (LSDASection)
> +    Asm->OutStreamer.SwitchSection(LSDASection);
>   Asm->EmitAlignment(2);

Can you explain this change?

Thanks.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110124/b08a38a9/attachment.html>


More information about the llvm-commits mailing list