summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.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/Target/TargetLoweringObjectFile.cpp
parentaf538d9ee6ff71e4beb950943b5e22d0a4eefed1 (diff)
downloadbcm5719-llvm-750cb6155376db8b54d99c31b1914470ee652d52.tar.gz
bcm5719-llvm-750cb6155376db8b54d99c31b1914470ee652d52.zip
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/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index 325493db25d..717ad412201 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp
@@ -350,7 +350,7 @@ unsigned TargetLoweringObjectFile::getLSDAEncoding() const {
return dwarf::DW_EH_PE_absptr;
}
-unsigned TargetLoweringObjectFile::getFDEEncoding() const {
+unsigned TargetLoweringObjectFile::getFDEEncoding(bool CFI) const {
return dwarf::DW_EH_PE_absptr;
}
OpenPOWER on IntegriCloud