aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2023-02-05 21:26:19 -0800
committerVitaly Buka <vitalybuka@google.com>2023-02-05 21:41:48 -0800
commitbccf5999d38f14552f449618c1d72d18613f4285 (patch)
tree9b69a9c15c0dd7f425aa05f65b50485ec7dca240 /clang/lib/CodeGen/CGDebugInfo.cpp
parent10b7c47e82555bbb16af213496b9cffe53436b0c (diff)
downloadllvm-bccf5999d38f14552f449618c1d72d18613f4285.zip
llvm-bccf5999d38f14552f449618c1d72d18613f4285.tar.gz
llvm-bccf5999d38f14552f449618c1d72d18613f4285.tar.bz2
Revert "[clang][WebAssembly] Initial support for reference type externref in clang"
Very likely breaks stage 3 of msan build bot. Good: 764c88a50ac76a2df2d051a0eb5badc6867aabb6 https://lab.llvm.org/buildbot/#/builders/74/builds/17058 Looks unrelated: 48b5a06dfcab12cf093a1a3df42cb5b684e2be4c Bad: 48b5a06dfcab12cf093a1a3df42cb5b684e2be4c https://lab.llvm.org/buildbot/#/builders/74/builds/17059 This reverts commit eb66833d19573df97034a81279eda31b8d19815b.
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index bb91b51..bb9a11e0 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -817,17 +817,6 @@ llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) {
return DBuilder.createVectorType(/*Size=*/0, Align, ElemTy,
SubscriptArray);
}
-
-#define WASM_REF_TYPE(Name, MangledName, Id, SingletonId, AS) \
- case BuiltinType::Id: { \
- if (!SingletonId) \
- SingletonId = \
- DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, \
- MangledName, TheCU, TheCU->getFile(), 0); \
- return SingletonId; \
- }
-#include "clang/Basic/WebAssemblyReferenceTypes.def"
-
case BuiltinType::UChar:
case BuiltinType::Char_U:
Encoding = llvm::dwarf::DW_ATE_unsigned_char;