Using GetTargetArchitecture() instead of m_target_arch, and set m_target_arch to private.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp | ||
---|---|---|
227 | Please also remove the commented out asserts that use m_target_arch. At least for PowerPC they have been commented out since the first commit so it won't do any harm to remove them and they will now fail to compile anyway. | |
lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h | ||
64 | Rare footage of a fixme getting fixed :) Thanks! |
Comment Actions
I think there are a few more commented out asserts, check that a grep for m_target_arch in lldb/ doesn't turn up anything you wouldn't expect.
Otherwise LGTM. If you find any more just land it with them removed.
Please also remove the commented out asserts that use m_target_arch.
At least for PowerPC they have been commented out since the first commit so it won't do any harm to remove them and they will now fail to compile anyway.