aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-04-06 14:13:54 +0300
committerMartin Storsjö <martin@martin.st>2022-04-11 19:50:48 +0300
commit373d08adb4454d416bd2232525e5a6fbe45935ab (patch)
tree8e556f7409643a13cc0b369e7a7ad0fc0b19a7fc /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent28cb508195be1b005a7e1cb53a75bff0dd4c3bcb (diff)
downloadllvm-373d08adb4454d416bd2232525e5a6fbe45935ab.zip
llvm-373d08adb4454d416bd2232525e5a6fbe45935ab.tar.gz
llvm-373d08adb4454d416bd2232525e5a6fbe45935ab.tar.bz2
[lldb] Silence warnings about unused static variables in RegisterInfos_arm64.h
Move them to the only source file that included RegisterInfos_arm64.h that actually used these variables. This silences warnings like these: In file included from lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp:42: lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h:790:35: warning: ‘g_register_infos_mte’ defined but not used [-Wunused-variable] 790 | static lldb_private::RegisterInfo g_register_infos_mte[] = { | ^~~~~~~~~~~~~~~~~~~~ lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h:787:35: warning: ‘g_register_infos_pauth’ defined but not used [-Wunused-variable] 787 | static lldb_private::RegisterInfo g_register_infos_pauth[] = { | ^~~~~~~~~~~~~~~~~~~~~~ Differential Revision: https://reviews.llvm.org/D123206
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions