forked from capstone-engine/llvm-capstone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with Mnemonic translation and C++ syntax.
* refactor: Refactor `setPrinterParameters` function for broader coverage - Improve handling of `GPostfix` in `setPrinterParameters` function in `DecoderEmitter.cpp` - Update `setPrinterParameters` to handle more cases when setting `GPostfix` - Add `switch` statement to handle different cases when setting `GPostfix` based on output language - Remove unnecessary line setting `GPostfix` in `DecoderEmitter.cpp` * refactor: Refactor instruction printing in TableGen. - Refactor PrinterCapstone.cpp to utilize a new normal mnemonic function for MatchableInfo objects - Replace hardcoded Mnemonic.upper() with new function call for readability * Fix: Capstone printer code - Change type of `Mn` to `std::string` in [llvm/utils/TableGen/PrinterCapstone.cpp] - Use `mapped_iterator` to uppercase `Mnemonic` before assigning to `Mn` * Fix: capstone register enum code in LLVM TableGen printer - Replace ARM_REG_ENDING with TargetName_REG_ENDING in PrinterCapstone.cpp
- Loading branch information
Showing
2 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters