aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit5426a9ee37667660935d80841c5392d78e254318 (patch)
tree618d555830cb9f02a2a0e45956a44aa5be69f494 /lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentc35280647b8a9d41492586205867913ed2cb916f (diff)
downloadexternal_llvm-5426a9ee37667660935d80841c5392d78e254318.zip
external_llvm-5426a9ee37667660935d80841c5392d78e254318.tar.gz
external_llvm-5426a9ee37667660935d80841c5392d78e254318.tar.bz2
GCC uses a different encoding of pointers in the FDE when using
-fno-dwarf2-cfi-asm. Implement the same behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index aff33aa..6ed91b0 100644
--- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/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;
}