swiftlang / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Swift’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.11k stars 328 forks source link

[MachOWriter] Initialize the values for PtrAuth fields #9117

Closed cachemeifyoucan closed 4 weeks ago

cachemeifyoucan commented 4 weeks ago

Initialize some fields in MachOObjectWriter that was moved from ObjectWriter. Fix the UBSAN tests failed for uninitialized variables.