[compiler-rt] [compiler-rt][asan] Add wcscpy/wcsncpy; enable wcscat/wcsncat on Windows (PR #160493)

Yixuan Cao via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 06:31:57 PDT 2025


Cao-Wuhui wrote:

> > Hi! First-time contributor here. Could a maintainer please approve CI workflows (Build and Test Linux/Windows) to run? This PR only touches compiler-rt/asan and tests; no changes under .github/workflows. Thanks!
> 
> Done. Please fix the CI findings:
> 
> * https://github.com/llvm/llvm-project/actions/runs/17974394914/job/51153848276?pr=160493
> * https://github.com/llvm/llvm-project/actions/runs/17974394872/job/51153848095?pr=160493#logs

Thanks for approving CI. I’ve addressed the reported issues:
- Windows build: fixed static thunk macro usage by switching `wcscat/wcsncat/wcscpy/wcsncpy` to `INTERCEPT_LIBRARY_FUNCTION_ASAN`, which expands to the required 2‑arg form.
- Style: applied LLVM style (single-statement if without braces) and pointer spacing; ran clang-format on touched files.

Could you please re-run CI for this PR? If anything else shows up, I’ll follow up quickly.

https://github.com/llvm/llvm-project/pull/160493


More information about the llvm-commits mailing list