summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-09-18 22:38:56 +0000
committerAdrian Prantl <aprantl@apple.com>2019-09-18 22:38:56 +0000
commit0779dffbd4a927d7bf9523482481248c51796907 (patch)
tree4f81626eff057e781360752c5a50bde2068a5b5c /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent69a92352022338417f27bfa45c0471beb6a92cc7 (diff)
downloadbcm5719-llvm-0779dffbd4a927d7bf9523482481248c51796907.tar.gz
bcm5719-llvm-0779dffbd4a927d7bf9523482481248c51796907.zip
Remove the obsolete BlockByRefStruct flag from LLVM IR
DIFlagBlockByRefStruct is an unused DIFlag that originally was used by clang to express (Objective-)C block captures in debug info. For the last year Clang has been emitting complex DIExpressions to describe block captures instead, which makes all the code supporting this flag redundant. This patch removes the flag and all supporting "dead" code, so we can reuse the bit for something else in the future. Since this only affects debug info generated by Clang with the block extension this mostly affects Apple platforms and I don't have any bitcode compatibility concerns for removing this. The Verifier will reject debug info that uses the bit and thus degrade gracefully when LTO'ing older bitcode with a newer compiler. rdar://problem/44304813 Differential Revision: https://reviews.llvm.org/D67453 llvm-svn: 372272
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 843caf1ab18..c8c511f67c2 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -216,7 +216,6 @@ public:
return !FrameIndexExprs.empty();
}
- bool isBlockByrefVariable() const;
const DIType *getType() const;
static bool classof(const DbgEntity *N) {
OpenPOWER on IntegriCloud