[all-commits] [llvm/llvm-project] 5f19fb: [NFC] add new function is64Bit for SymbolicFile class
diggerlin via All-commits
all-commits at lists.llvm.org
Mon Feb 6 07:44:14 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f19fb5af53765baaebec61880e53e806a97a974
https://github.com/llvm/llvm-project/commit/5f19fb5af53765baaebec61880e53e806a97a974
Author: zhijian <zhijian at ca.ibm.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M llvm/include/llvm/Object/COFF.h
M llvm/include/llvm/Object/COFFImportFile.h
M llvm/include/llvm/Object/ELFObjectFile.h
M llvm/include/llvm/Object/IRObjectFile.h
M llvm/include/llvm/Object/MachO.h
M llvm/include/llvm/Object/SymbolicFile.h
M llvm/include/llvm/Object/TapiFile.h
M llvm/include/llvm/Object/Wasm.h
M llvm/include/llvm/Object/XCOFFObjectFile.h
M llvm/tools/llvm-ar/llvm-ar.cpp
M llvm/tools/llvm-nm/llvm-nm.cpp
Log Message:
-----------
[NFC] add new function is64Bit for SymbolicFile class
Summary:
since the class 'SymbolicFile ' do not have a is64Bit() API , when we need to check whether a SymbolicFile object is 64bit or not. we need to write a function to do it, it maybe cause duplication code.
Reviewers: James Henderson, Fangrui Song
Differential Revision: https://reviews.llvm.org/D143097
More information about the All-commits
mailing list