[all-commits] [llvm/llvm-project] 3da76c: [libunwind] Fix build with -Wunused-function
Shoaib Meenai via All-commits
all-commits at lists.llvm.org
Thu Jul 27 20:23:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3da76c2116179fdb3fff8feb4551209e4218746e
https://github.com/llvm/llvm-project/commit/3da76c2116179fdb3fff8feb4551209e4218746e
Author: Shoaib Meenai <smeenai at fb.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M libunwind/src/Unwind-EHABI.cpp
Log Message:
-----------
[libunwind] Fix build with -Wunused-function
https://reviews.llvm.org/D144252 removed -Wno-unused-function from the
libunwind build, but we have an unused function when you're building for
armv7 without assertions. Mark that function as possibly unused to avoid
the warning, and mark the parameter as a const pointer while I'm here to
make it clear that nothing is modified by a debugging function.
Reviewed By: #libunwind, philnik
Differential Revision: https://reviews.llvm.org/D156496
More information about the All-commits
mailing list