Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements LLVM based disassembler for the debugger. #1382

Merged
merged 1 commit into from Oct 26, 2014

Conversation

Sonicadvance1
Copy link
Contributor

This will work for all of our platforms, x86, ARMv7, and AArch64.
Main issue with this is that LLVM's cmake files aren't correctly finding the LLVM install.
Not sure if this is Ubuntu's issue or not, it may just work on other operating systems.

We could potentially improve this, you can pass in a specific CPU in to the LLVM disassembler. This would probably affect latency times that are
reported by LLVM's disassembly? This needs to be further investigated later.

@Sonicadvance1 Sonicadvance1 force-pushed the LLVM-disasm branch 3 times, most recently from 195f9f7 to 7f060ee Compare October 24, 2014 11:43
// Once that conflict is resolved this can be moved to the header
class HostDisassemblerLLVM : public HostDisassembler
{
public:

This comment was marked as off-topic.

if (LLVM_DIR)
add_definitions(-DHAS_LLVM=1)
set(HAS_LLVM 1)
find_package(LLVM REQUIRED CONFIG)

This comment was marked as off-topic.

This will work for all of our platforms, x86, ARMv7, and AArch64.
Main issue with this is that LLVM's cmake files aren't correctly finding the LLVM install.
Not sure if this is Ubuntu's issue or not, it may just work on other operating systems.

We could potentially improve this, you can pass in a specific CPU in to the LLVM disassembler. This would probably affect latency times that are
reported by LLVM's disassembly? This needs to be further investigated later.
@Sonicadvance1 Sonicadvance1 changed the title [WIP] Implements LLVM based disassembler for the debugger. Implements LLVM based disassembler for the debugger. Oct 24, 2014
skidau added a commit that referenced this pull request Oct 26, 2014
Implements LLVM based disassembler for the debugger.
@skidau skidau merged commit 38acd4d into dolphin-emu:master Oct 26, 2014
@Sonicadvance1 Sonicadvance1 deleted the LLVM-disasm branch August 9, 2015 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants