aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectGUI.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-12-09 17:14:10 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-12-09 17:17:01 -0800
commitd9466653e4ddbde5e787ac8cdbe67c1f356a5f69 (patch)
tree6edfed531500581d1e9a9e453ebab3a0ab2179ed /lldb/source/Commands/CommandObjectGUI.cpp
parentbc69dd2cfae37a335b9a0125e161c54548a9d2a5 (diff)
downloadllvm-d9466653e4ddbde5e787ac8cdbe67c1f356a5f69.zip
llvm-d9466653e4ddbde5e787ac8cdbe67c1f356a5f69.tar.gz
llvm-d9466653e4ddbde5e787ac8cdbe67c1f356a5f69.tar.bz2
[llvm/dwarfdump] Use the architecture string to filter.
Currently dwarfdump uses the ArchType to filter out architectures, which is problematic for architectures like arm64e and x86_64h that map back to arm64 and x86_64 respectively. The result is that the filter doesn't work for these architectures because it matches all the variants. This is especially bad because usually these architectures are the reason to use the filter in the first place. Instead, we should match the architecture based on the string name. This means the filter works for the values printed by dwarfdump. It has the unfortunate side effect of not working for aliases, like AArch64, but I think that's worth the trade-off. rdar://53653014 Differential revision: https://reviews.llvm.org/D71230
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions