Plumb the host architecture through platform selection in preparation for D121444.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'm not sure what would be a good way to denote that the new argument represents the architecture of the host running the debugged process, and not the one running lldb. This isn't helped by the fact that some of the darwin platforms use GetSystemArchitecture in their implementations (which, afaict, does mean the lldb host architecture). Having at least a comment would be nice.
lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp | ||
---|---|---|
134 | I'm not sure the default argument value is that useful. |
Comment Actions
Maybe. Maybe even process_host_architecture. But that's quite a mouthful.
or platform_architecture?
That still sounds confusing to me.
Comment Actions
I prefer being verbose over ambiguous. Let's go with this.
or platform_architecture?
That still sounds confusing to me.
Agreed.
I'm not sure the default argument value is that useful.