| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
doc: get rid of redundant TODO tag in FuzzedDataProvider.h (#137395) 'list.size()' is determined at runtime, so using static_assert on it as suggested by the TODO comment is not feasible and produces the following error when done: error: static assertion expression is not an integral constant expression initially referenced in https://github.com/bitcoin/bitcoin/pull/32024 Co-authored-by: Chand-ra <chandrapratap376@gmail.com> | 1 年前 | |
[ORC-RT] Rename 'orc_rt_*CWrapper*' types and functions to 'orc_rt_*Wrapper*'. The orc_rt_ prefix implies C API anyway (the C++ API should use the orc_rc:: namespace), so the 'C' is redundant here. | 1 年前 | |
[InstrProf] Fix frontend generated function hash (#165358) | 8 个月前 | |
[ASan] Document define to disable container overflow checks at compile time. (#163468) Document a define to allow library developers to support disabling AddressSanitizer's container overflow detection in template code at compile time. The primary motivation is to reduce false positives in environments where libraries and frameworks that cannot be recompiled with sanitizers enabled are called from application code. This supports disabling checks when the runtime environment cannot be reliably controlled to use ASAN_OPTIONS. Key changes: - Use the define __SANITIZER_DISABLE_CONTAINER_OVERFLOW__ to disable instrumentation at compile time - Implemented redefining the container overflow APIs in common_interface_defs.h to use define to provide null implementation when define is present - Update documentation in AddressSanitizer.rst to suggest and illustrate use of the define - Add details of the define in PrintContainerOverflowHint() - Add test disable_container_overflow_checks to verify new hints on the error and fill the testing gap that ASAN_OPTIONS=detect_container_overflow=0 works - Add tests demonstrating the issue around closed source libraries and instrumented apps that both modify containers This requires no compiler changes and should be supportable cross compiler toolchains. An RFC has been opened to discuss: https://discourse.llvm.org/t/rfc-add-fsanitize-address-disable-container-overflow-flag-to-addresssanitizer/88349 | 8 个月前 | |
Reapply "[compiler-rt][XRay] Make xray_interface.h C compliant" (#141728) Changes to initial PR (#140068): - Mark failing test as unsupported for powerpc64le, as test failure is unrelated to PR changes. See https://github.com/llvm/llvm-project/issues/141598 --- Original description (from #140068) The XRay interface header uses no C++ specific features aside from using the std namespace and including the C++ variant of C headers. Yet, these changes prevent using xray_interface.h in external tools relying on C for different reasons. Make this header C compliant by using C headers, removing the std namespace from std::size_t and guard extern "C". To make sure that further changes to not break the interface accidentially, port one test from C++ to C. This requires the C23 standard to officially support the attribute syntax used in this test case. Note that this only resolves this issue for xray_interface.h. xray_records.h is also not C compliant, but requires more work to port. Fixes #139902 Signed-off-by: Jan André Reuter <j.reuter@fz-juelich.de> | 9 个月前 | |
[compiler-rt][rtsan] Introduce rtsan_interface.h and ScopedDisabler (#106736) | 1 年前 |