Skip to content

Commit

Permalink
Fix rebasing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Sep 9, 2024
1 parent c99d819 commit af4b72d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 9 additions & 1 deletion suite/auto-sync/src/autosync/Targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
# SPDX-License-Identifier: BSD-3

# Names of the target architectures as they are listed under llvm/lib/Target/
TARGETS_LLVM_NAMING = ["ARM", "PowerPC", "Alpha", "AArch64", "LoongArch", "SystemZ", "Mips"]
TARGETS_LLVM_NAMING = [
"ARM",
"PowerPC",
"Alpha",
"AArch64",
"LoongArch",
"SystemZ",
"Mips",
]

# Names of the target architecture as they are used in code and pretty much everywhere else.
ARCH_LLVM_NAMING = ["ARM", "PPC", "Alpha", "AArch64", "LoongArch", "SystemZ", "Mips"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,14 @@ def get_Mips_includes(filename: str) -> bytes:
log.fatal(f"No includes given for Mips source file: {filename}")
exit(1)


def get_SystemZ_includes(filename: str) -> bytes:
match filename:
case "SystemZDisassembler.cpp":
+ b'#include "SystemZDisassemblerExtension.h"\n'
return (
b'#include "../../MCInst.h"\n'
+ b'#include "../../MathExtras.h"\n'
+ b'#include "../../cs_priv.h"\n'
+ b'#include "../../utils.h"\n\n'
+ b'#include "SystemZMCTargetDesc.h"\n'
+ b'#include "SystemZDisassemblerExtension.h"\n\n'
Expand Down

0 comments on commit af4b72d

Please sign in to comment.