OSDN Git Service

The FDE initial location and address range data should be free to be 64-bit
authorBill Wendling <isanbard@gmail.com>
Mon, 29 Dec 2008 21:51:42 +0000 (21:51 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 29 Dec 2008 21:51:42 +0000 (21:51 +0000)
(quad) on a 64-bit platform. This fixes a problem with EH frames on Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61483 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfWriter.cpp

index 70d4d1f..6534f40 100644 (file)
@@ -3119,10 +3119,10 @@ private:
 
       Asm->EOL("FDE CIE offset");
 
-      EmitReference("eh_func_begin", EHFrameInfo.Number, true, true);
+      EmitReference("eh_func_begin", EHFrameInfo.Number, true);
       Asm->EOL("FDE initial location");
       EmitDifference("eh_func_end", EHFrameInfo.Number,
-                     "eh_func_begin", EHFrameInfo.Number, true);
+                     "eh_func_begin", EHFrameInfo.Number);
       Asm->EOL("FDE address range");
 
       // If there is a personality and landing pads then point to the language