[Lldb-commits] [PATCH] D62772: [COFF, ARM64] Fix CodeView API change for getRegisterNames
Saleem Abdulrasool via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Jun 2 17:29:56 PDT 2019
compnerd accepted this revision.
compnerd added a comment.
This revision is now accepted and ready to land.
This should get the build working again, so lets get this fixed, we can improve it later
================
Comment at: source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp:29
+ llvm::codeview::CPUType cpu_type;
+ if (arch_type == llvm::Triple::ArchType::aarch64) {
+ cpu_type = llvm::codeview::CPUType::ARM64;
----------------
TomTan wrote:
> TomTan wrote:
> > compnerd wrote:
> > > aganea wrote:
> > > > Shouldn’t ArchType::aarch64_be and ArchType::aarch64_32 enums be handled here as well?
> > > I think that we should use a `switch` to cover the targets. `/Oy` will allow FPO on x86 as well. There is also WoA (ARM32).
> > Seems no, aarch64_be or aarch64_32 is not supported by CodeView or Windows.
> Ok. It makes sense to use switch/case. CodeView doesn't support WoA (ARM32) so no need to add case for it here.
Huh? How does `cl` generate that then?
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62772/new/
https://reviews.llvm.org/D62772
More information about the lldb-commits
mailing list