Skip to content

Commit 3146ac1

Browse files
committed
Fix function name and highlight how arch code gen oddities are handled.
1 parent d95ebbe commit 3146ac1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

suite/auto-sync/RefactorGuide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ Note:
3434
- Quickly check options of the updater `ASUpdater -h`
3535
- Add Arch name in `Target.py`
3636
- In [llvm-capstone](https://github.com/capstone-engine/llvm-capstone) handle arch in `PrinterCapstone.cpp::decoderEmitterEmitDecodeInstruction()` (add decoder function)
37+
[!NOTE] Architecture specific code generation.
38+
There are several oddities of architectures which require slightly different generated code.
39+
If you search through `PrinterCapstone.cpp` for architecture names like `AArch64`, `ARM`, or `Sparc` you can see how these are handled.
3740
- Generate: `ASUpdater -s IncGen -a ARCH`
3841
- Errors? Check if the error message tells you what to do. If no hint exists, ask us.
3942
- Check if `inc` files in `build` look good.

0 commit comments

Comments
 (0)