aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-05-01 04:49:54 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-05-01 04:49:54 +0000
commit750cb6155376db8b54d99c31b1914470ee652d52 (patch)
treedf128ef139adfbfeedeccda483b5df57f7dac4b4 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentaf538d9ee6ff71e4beb950943b5e22d0a4eefed1 (diff)
downloadllvm-750cb6155376db8b54d99c31b1914470ee652d52.zip
llvm-750cb6155376db8b54d99c31b1914470ee652d52.tar.gz
llvm-750cb6155376db8b54d99c31b1914470ee652d52.tar.bz2
GCC uses a different encoding of pointers in the FDE when using
-fno-dwarf2-cfi-asm. Implement the same behavior. llvm-svn: 130637
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index aff33aa..6ed91b0 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -879,7 +879,7 @@ unsigned TargetLoweringObjectFileMachO::getLSDAEncoding() const {
return DW_EH_PE_pcrel;
}
-unsigned TargetLoweringObjectFileMachO::getFDEEncoding() const {
+unsigned TargetLoweringObjectFileMachO::getFDEEncoding(bool CFI) const {
return DW_EH_PE_pcrel;
}