Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.133 -> 1.134 --- Log message: Emit sections/directives in the proper order. This fixes PR1376: http://llvm.org/PR1376 . Also, some small cleanup was made. --- Diffs of the changes: (+4 -4) DwarfWriter.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/CodeGen/DwarfWriter.cpp diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.133 llvm/lib/CodeGen/DwarfWriter.cpp:1.134 --- llvm/lib/CodeGen/DwarfWriter.cpp:1.133 Tue May 1 17:23:12 2007 +++ llvm/lib/CodeGen/DwarfWriter.cpp Sat May 5 04:04:50 2007 @@ -1955,7 +1955,7 @@ didInitial = true; // Dwarf sections base addresses. - if (TAI->getDwarfRequiresFrameSection()) { + if (TAI->doesDwarfRequireFrameSection()) { Asm->SwitchToDataSection(TAI->getDwarfFrameSection()); EmitLabel("section_frame", 0); } @@ -2324,7 +2324,7 @@ /// EmitInitialDebugFrame - Emit common frame info into a debug frame section. /// void EmitInitialDebugFrame() { - if (!TAI->getDwarfRequiresFrameSection()) + if (!TAI->doesDwarfRequireFrameSection()) return; int stackGrowth = @@ -2367,7 +2367,7 @@ /// EmitFunctionDebugFrame - Emit per function frame info into a debug frame /// section. void EmitFunctionDebugFrame() { - if (!TAI->getDwarfRequiresFrameSection()) + if (!TAI->doesDwarfRequireFrameSection()) return; // Start the dwarf frame section. @@ -3124,7 +3124,7 @@ if (MMI && ExceptionHandling && - TAI->getSupportsExceptionHandling()) { + TAI->doesSupportExceptionHandling()) { shouldEmit = true; // Assumes in correct section after the entry point. EmitLabel("eh_func_begin", ++SubprogramCount); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits