[PATCH] D44761: Fix PR36793

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 21 16:26:43 PDT 2018


arichardson added inline comments.


================
Comment at: ELF/InputFiles.cpp:138
+    for (const auto &Entry : CU->dies()) {
+      DWARFDie Die(&*CU, &Entry);
+      // Skip all tags that are not variables.
----------------
Maybe use `.get()` instead of `&*`?


https://reviews.llvm.org/D44761





More information about the llvm-commits mailing list