File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1018,15 +1018,15 @@ void Relocation::print(raw_ostream &OS) const {
1018
1018
OS << " RType:" << Twine::utohexstr (Type);
1019
1019
break ;
1020
1020
1021
- case Triple::aarch64:
1021
+ case Triple::aarch64: {
1022
1022
static const char *const AArch64RelocNames[] = {
1023
1023
#define ELF_RELOC (name, value ) #name,
1024
1024
#include " llvm/BinaryFormat/ELFRelocs/AArch64.def"
1025
1025
#undef ELF_RELOC
1026
1026
};
1027
1027
assert (Type < ArrayRef (AArch64RelocNames).size ());
1028
1028
OS << AArch64RelocNames[Type];
1029
- break ;
1029
+ } break ;
1030
1030
1031
1031
case Triple::riscv64:
1032
1032
// RISC-V relocations are not sequentially numbered so we cannot use an
@@ -1043,15 +1043,15 @@ void Relocation::print(raw_ostream &OS) const {
1043
1043
}
1044
1044
break ;
1045
1045
1046
- case Triple::x86_64:
1046
+ case Triple::x86_64: {
1047
1047
static const char *const X86RelocNames[] = {
1048
1048
#define ELF_RELOC (name, value ) #name,
1049
1049
#include " llvm/BinaryFormat/ELFRelocs/x86_64.def"
1050
1050
#undef ELF_RELOC
1051
1051
};
1052
1052
assert (Type < ArrayRef (X86RelocNames).size ());
1053
1053
OS << X86RelocNames[Type];
1054
- break ;
1054
+ } break ;
1055
1055
}
1056
1056
OS << " , 0x" << Twine::utohexstr (Offset);
1057
1057
if (Symbol) {
You can’t perform that action at this time.
0 commit comments