diff options
| author | Maksim Panchenko <maks@fb.com> | 2025-11-05 12:36:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-05 12:36:57 -0800 |
| commit | 5f1b9023a8093fd8beb931a74d28753fbda88fdf (patch) | |
| tree | 51b6d2c934ed27402108b0d6934e4556d5db33cc /clang/unittests/Format/FormatTestJava.cpp | |
| parent | 163933e9e7099f352ff8df1973f9a9c3d7def6c5 (diff) | |
| download | llvm-5f1b9023a8093fd8beb931a74d28753fbda88fdf.zip llvm-5f1b9023a8093fd8beb931a74d28753fbda88fdf.tar.gz llvm-5f1b9023a8093fd8beb931a74d28753fbda88fdf.tar.bz2 | |
[BOLT][AArch64] Fix printing of relocation types (#166621)
Enumeration of relocation types is not always sequential, e.g. on
AArch64 the first real relocation type is 0x101. As such, the existing
code in `Relocation::print()` was crashing while printing AArch64
relocations. Fix it by using `llvm::object::getELFRelocationTypeName()`.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions
