aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorvarconst <varconsteq@gmail.com>2023-06-27 16:40:39 -0700
committervarconst <varconsteq@gmail.com>2023-06-28 15:10:31 -0700
commitcd0ad4216cb962f160b1b0054df6f72ce6f9f766 (patch)
tree98f2f5f3ae1c721e9e954d374fe2b316ee86be96 /llvm/lib/CodeGen/MachineFunction.cpp
parent699e0bed4bfead826e210025bf33e5a1997c018b (diff)
downloadllvm-cd0ad4216cb962f160b1b0054df6f72ce6f9f766.zip
llvm-cd0ad4216cb962f160b1b0054df6f72ce6f9f766.tar.gz
llvm-cd0ad4216cb962f160b1b0054df6f72ce6f9f766.tar.bz2
[libc++][hardening][NFC] Introduce `_LIBCPP_ASSERT_UNCATEGORIZED`.
Replace most uses of `_LIBCPP_ASSERT` with `_LIBCPP_ASSERT_UNCATEGORIZED`. This is done as a prerequisite to introducing hardened mode to libc++. The idea is to make enabling assertions an opt-in with (somewhat) fine-grained controls over which categories of assertions are enabled. The vast majority of assertions are currently uncategorized; the new macro will allow turning on `_LIBCPP_ASSERT` (the underlying mechanism for all kinds of assertions) without enabling all the uncategorized assertions (in the future; this patch preserves the current behavior). Differential Revision: https://reviews.llvm.org/D153816
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions