[clang] [LifetimeSafety] Allow user-defined structs to have origins (PR #189240)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 29 06:34:51 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 53437 tests passed
* 1045 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang-Unit
<details>
<summary>Clang-Unit._/AllClangUnitTests_exe/LifetimeAnalysisTest/TrivialClassDestructorsUAF</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\unittests\.\AllClangUnitTests.exe --gtest_filter=LifetimeAnalysisTest.TrivialClassDestructorsUAF
--
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\LifetimeSafetyTest.cpp:1411
Value of: Origins({"ptr"})
Expected: must be live at (Annotation: "p1")
Actual: 32-byte object <50-A7 1D-EB C5-01 00-00 70-A7 1D-EB C5-01 00-00 70-A7 1D-EB C5-01 00-00 80-A3 0F-EA C5-01 00-00>, Expected: {6, } Actual: {6, 7, }
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/189240
More information about the cfe-commits
mailing list