[libcxx-commits] [PATCH] D75541: Split findUnwindSectionByPhdr by targets--arm eabi and others.

Sterling Augustine via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 3 10:56:22 PST 2020


saugustine updated this revision to Diff 247955.
saugustine added a comment.

Fix small clang-tidy complaint.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75541/new/

https://reviews.llvm.org/D75541

Files:
  libunwind/src/AddressSpace.hpp


Index: libunwind/src/AddressSpace.hpp
===================================================================
--- libunwind/src/AddressSpace.hpp
+++ libunwind/src/AddressSpace.hpp
@@ -414,7 +414,7 @@
 #if defined(_LIBUNWIND_ARM_EHABI)
 
 static int findUnwindSectionByPhdr(struct dl_phdr_info *pinfo, size_t, void *data) {
-  auto cbdata = static_cast<dl_iterate_cb_data *>(data);
+  auto *cbdata = static_cast<dl_iterate_cb_data *>(data);
   bool found_obj = false;
   bool found_hdr = false;
 
@@ -464,7 +464,7 @@
 #else // defined(_LIBUNWIND_ARM_EHABI)
 
 static int findUnwindSectionByPhdr(struct dl_phdr_info *pinfo, size_t, void *data) {
-  auto cbdata = static_cast<dl_iterate_cb_data *>(data);
+  auto *cbdata = static_cast<dl_iterate_cb_data *>(data);
   bool found_obj = false;
   bool found_hdr = false;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75541.247955.patch
Type: text/x-patch
Size: 813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200303/2a53b3a1/attachment.bin>


More information about the libcxx-commits mailing list