llvm-project
llvm-project copied to clipboard
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
Update `TypeSystemSwiftTypeRef::RemangleAsType` to handle empty opaque types. Without this change, assertions will occur when running unit tests with an asserts-build of lldb. An example of where this happens is `Builtin.RawPointer`...
Enable -fsample-profile-use-profi for sample-pgo in clang
This just balances the banner used for the swift healthcheck command.
`InitNameIndexes` loops over symbols and builds internal indexes. For Swift symbols (of type `eSymbolTypeCode`), the symbol is demangled into a node tree, and the node tree is used to extract...
It seems other changes make this unnecessary. Behavior is tested with TestSwiftPropertyAccessorBreakpoints.py
The documentation says the compiler flag is: `-fapi-notes-modules` https://clang.llvm.org/docs/APINotes.html But in SwiftPM one gets a warning to change it to `-fapinotes-modules` (swift-tools-version: 6.2) ``` .target( name: "BackingC", cSettings: [ .unsafeFlags(["-fapinotes-modules"])...
This change separates module loading from symbol preloading to ensure a deterministic module loading order. Parallel module loading was causing non-deterministic behavior, but we only need to load symbols in...
Hi, I am using stable/20250402 While testing -fbounds-safety on some project I found some error forcing some annoying conversion. For example ``` int count(char *__counted_by(len) p, int len) { int...
architecture only. Apple configures CMake only once for compiler-rt, even when building for multiple architectures. As a result, we need to explicitly test for arm64 specific attributes by building for...