diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-01-22 10:33:50 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-01-22 10:37:18 +0100 |
| commit | a43c192567eb4ea2535d73b83da5c7d5ed2b6122 (patch) | |
| tree | 559352f8fc748daef666c2f196720cb049413808 /llvm/lib/Transforms/Utils/Local.cpp | |
| parent | 5cd8d53cac00feafd739dba6215e1f6eed502e46 (diff) | |
| download | llvm-a43c192567eb4ea2535d73b83da5c7d5ed2b6122.zip llvm-a43c192567eb4ea2535d73b83da5c7d5ed2b6122.tar.gz llvm-a43c192567eb4ea2535d73b83da5c7d5ed2b6122.tar.bz2 | |
[llvm-jitlink] Use SmallVectorImpl when referencing StubInfos (NFC)
The element type is declared as SmallVector<T, 1>, but we assign to
SmallVector<T> &. These types are not the same on 32-bit systems,
resulting in a compilation error.
Fix this by using SmallVectorImpl<T> & instead, which is independent
of the small size.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions
