David Stone eea41bb404
[llvm] Replace OwningArrayRef with SmallVector in BTFParser (#169124)
`OwningArrayRef` requires that the size and the capacity are the same.
This prevents reusing memory allocations unless the size happens to be
exactly the same (which is rare enough we don't even try). Switch to
`SmallVector` instead so that we're not repeatedly calling `new[]` and
`delete[]`.
2026-01-16 11:15:02 -07:00
..