[PATCH] D50226: [DebugInfo] Use DbgVariableIntrinsic as the base class of variables.
Hsiangkai Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 5 21:00:38 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338985: [DebugInfo] Use DbgVariableIntrinsic as the base class of variables. (authored by HsiangKai, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D50226?vs=158924&id=159241#toc
Repository:
rL LLVM
https://reviews.llvm.org/D50226
Files:
cfe/trunk/lib/CodeGen/CGVTables.cpp
Index: cfe/trunk/lib/CodeGen/CGVTables.cpp
===================================================================
--- cfe/trunk/lib/CodeGen/CGVTables.cpp
+++ cfe/trunk/lib/CodeGen/CGVTables.cpp
@@ -128,7 +128,7 @@
// they are referencing.
for (auto &BB : Fn->getBasicBlockList()) {
for (auto &I : BB) {
- if (auto *DII = dyn_cast<llvm::DbgInfoIntrinsic>(&I)) {
+ if (auto *DII = dyn_cast<llvm::DbgVariableIntrinsic>(&I)) {
auto *DILocal = DII->getVariable();
if (!DILocal->isResolved())
DILocal->resolve();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50226.159241.patch
Type: text/x-patch
Size: 554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180806/71b04c0d/attachment.bin>
More information about the llvm-commits
mailing list