While debugging on those architectures might not be supported yet, the generic code should still be buildable. This file accesses x86 specific fields in the CONTEXT struct.
Details
Details
- Reviewers
amccarth labath hhb compnerd asmith - Commits
- rG02dddfd2aef3: [LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures
rLLDB372699: [LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures
rL372699: [LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
What do you think of adding some sort of notification that hardware breakpoints are currently unsupported and that we are falling back to software breakpoints for the #else case?
lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp | ||
---|---|---|
87 ↗ | (On Diff #221299) | Should this line not also include || defined(__aarch64__) || defined(_M_ARM64)? |
Comment Actions
I guess it could make sense. What kind of notification do you have in mind?
lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp | ||
---|---|---|
87 ↗ | (On Diff #221299) | I guess it should. Or this might be one of the few places where checking for just _WIN64 might be easiest? |
Comment Actions
I think that printf is quite an amazing notification :-)
lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp | ||
---|---|---|
87 ↗ | (On Diff #221299) | Yeah, I think that _WIN64 is probably the easiest thing indeed. |
Comment Actions
Ok, I'll make it an LLDB_LOG then, as I'd presume using raw printfs isn't really allowed :-)