Skip to content

Commit 13adcf1

Browse files
committed
Fixes
1 parent dda3726 commit 13adcf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/utils/TableGen/DecoderEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2155,7 +2155,7 @@ static void emitDecodeInstruction(formatted_raw_ostream &OS,
21552155
NumToSkipSizeInBytes);
21562156

21572157
OS << R"(
2158-
inline unsigned decodeNumToSkip(const uint8_t *&Ptr) {
2158+
static unsigned decodeNumToSkip(const uint8_t *&Ptr) {
21592159
unsigned NumToSkip = *Ptr++;
21602160
NumToSkip |= (*Ptr++) << 8;
21612161
if constexpr (NumToSkipSizeInBytes == 3)

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2148,7 +2148,7 @@ llvm_target_lib_list = [lib for lib in [
21482148
"lib/Target/AArch64/AArch64GenSubtargetInfo.inc",
21492149
),
21502150
(
2151-
["-gen-disassembler"],
2151+
["-gen-disassembler", "--num-to-skip-size=3"],
21522152
"lib/Target/AArch64/AArch64GenDisassemblerTables.inc",
21532153
),
21542154
(

0 commit comments

Comments
 (0)