summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-12-29 21:51:42 +0000
committerBill Wendling <isanbard@gmail.com>2008-12-29 21:51:42 +0000
commitb13c83ac18f8d645bd7a2f281152dae0282cecd9 (patch)
tree6e4dd2405d57592ededf256ec1cae2aa672ea2be /llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parentfd60966b91399ad0d973d0278726705e91756db4 (diff)
downloadbcm5719-llvm-b13c83ac18f8d645bd7a2f281152dae0282cecd9.tar.gz
bcm5719-llvm-b13c83ac18f8d645bd7a2f281152dae0282cecd9.zip
The FDE initial location and address range data should be free to be 64-bit
(quad) on a 64-bit platform. This fixes a problem with EH frames on Darwin. llvm-svn: 61483
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 70d4d1ffecc..6534f401cc6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -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
OpenPOWER on IntegriCloud