[libcxx-commits] [PATCH] D107802: [libunwind] Silence a warning about an unused variable, if building without asserts

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 10 01:11:32 PDT 2021


mstorsjo created this revision.
mstorsjo added a reviewer: compnerd.
Herald added a project: libunwind.
Herald added a reviewer: libunwind.
mstorsjo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107802

Files:
  libunwind/src/Unwind-seh.cpp


Index: libunwind/src/Unwind-seh.cpp
===================================================================
--- libunwind/src/Unwind-seh.cpp
+++ libunwind/src/Unwind-seh.cpp
@@ -258,6 +258,7 @@
           ", func=%s, lsda=0x%" PRIx64 ", personality=0x%" PRIx64,
           (void *)exception_object, frameInfo.start_ip, functionName,
           frameInfo.lsda, frameInfo.handler);
+      (void)functionName;
     }
 
     // Call stop function at each frame.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107802.365377.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210810/5dcc25e1/attachment.bin>


More information about the libcxx-commits mailing list