summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2016-04-15 18:04:13 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2016-04-15 18:04:13 +0000
commitd7d45bf8ceed017b6dcc1f8fab18d5a85b688837 (patch)
tree86cbe254f899c07ffaea2fc053e10c71ef153b2d /clang/lib/CodeGen/CGDebugInfo.cpp
parent7dd20563a2cd10217d7c41d2ffdc6c838b951b51 (diff)
downloadbcm5719-llvm-d7d45bf8ceed017b6dcc1f8fab18d5a85b688837.tar.gz
bcm5719-llvm-d7d45bf8ceed017b6dcc1f8fab18d5a85b688837.zip
Revert 266186 as it breaks anything that includes type_traits on some platforms
Since this patch provided support for the __float128 type but disabled it on all platforms by default, some platforms can't compile type_traits with -std=gnu++11 since there is a specialization with __float128. This reverts the patch until D19125 is approved (i.e. we know which platforms need this support enabled). llvm-svn: 266460
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 54b5f2fc421..6fd0032f84c 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -528,13 +528,7 @@ llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) {
case BuiltinType::Half:
case BuiltinType::Float:
case BuiltinType::LongDouble:
- case BuiltinType::Float128:
case BuiltinType::Double:
- // FIXME: For targets where long double and __float128 have the same size,
- // they are currently indistinguishable in the debugger without some
- // special treatment. However, there is currently no consensus on encoding
- // and this should be updated once a DWARF encoding exists for distinct
- // floating point types of the same size.
Encoding = llvm::dwarf::DW_ATE_float;
break;
}
OpenPOWER on IntegriCloud