aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
diff options
context:
space:
mode:
authorFaraz Vahedi <kfv@FreeBSD.org>2026-08-22 15:01:27 +0000
committerFaraz Vahedi <kfv@FreeBSD.org>2026-08-22 15:01:27 +0000
commitd59c7ea2701fe7b73b32eef49a7c712ef38de5a0 (patch)
treec8a852c29ad298dbfc245a62201b4451129b2d7a /contrib/llvm-project/llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
parentb5c1ab6c8f2811278b801084713a6618f3b783d3 (diff)
libc: Implement bsearch_s(), document bsearch_b(), and add unit testsHEADmain
- Implement bsearch_s() as per §K.3.6.3.2 in C23, first specified in C11. It behaves identically to bsearch(), except the callback is called with a third argument, context, which is passed through from the caller, and it also performs runtime constraint checking on its arguments. - Document bsearch_b(), bsearch_s(), and add history section - Add rudimentary unit tests for bsearch(), bsearch_b(), and bsearch_s() Reviewed by: dteske, fuz Approved by: dteske (mentor), fuz (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D58876
Diffstat (limited to 'contrib/llvm-project/llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp')
0 files changed, 0 insertions, 0 deletions