[PATCH] D51763: Remove addBlockByrefAddress(), it is dead code as far as clang is concerned.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 6 17:08:10 PDT 2018
aprantl created this revision.
aprantl added a reviewer: debug-info.
Herald added a subscriber: JDevlieghere.
This patch removes addBlockByrefAddress(), it is dead code as far as clang is concerned: Every byref block capture is emitted with a complex expression that is equivalent to what this function does.
Now if I can move the code from DbgVariable::getType() into Clang, too we can get rid of the entire BlockByrefStruct DIFlag!
https://reviews.llvm.org/D51763
Files:
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51763.164324.patch
Type: text/x-patch
Size: 6348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180907/af8f97a3/attachment.bin>
More information about the llvm-commits
mailing list