[all-commits] [llvm/llvm-project] fc6a6e: [libunwind] undef NDEBUG for assert.h in tests.

Florian Mayer via All-commits all-commits at lists.llvm.org
Thu Aug 4 19:55:58 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc6a6ee507ec2df0df7d34ba19feccb776297e4c
  Author: Florian Mayer <fmayer at google.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M libunwind/test/forceunwind.pass.cpp
    M libunwind/test/libunwind_02.pass.cpp
    M libunwind/test/signal_frame.pass.cpp
    M libunwind/test/signal_unwind.pass.cpp
    M libunwind/test/unw_getcontext.pass.cpp
    M libunwind/test/unwind_leaffunction.pass.cpp

  Log Message:
  [libunwind] undef NDEBUG for assert.h in tests.

This makes sure the assertions also get verified in optimized builds.
This matches what is already done in bad_unwind_info.pass.cpp.

Reviewed By: #libunwind, MaskRay

Differential Revision: https://reviews.llvm.org/D131210

More information about the All-commits mailing list