mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-23 09:41:10 +00:00
Davide Italiano
255730cdc5
[ELF] Generalize symbol type handling.
SymbolBody constructor and friends take isFunc and isTLS boolean arguments. ELF symbols have already a type so than be easily passed as argument. If we want to support another type, this scheme is not good enough, that is, the current code logic would require passing another `bool isObject` around. Up to two argument, this stretching exercise was a little bit goofy but still acceptable, but with more types to support, is just too much, IMHO. Change the code so that the type is passed instead. Differential Revision: http://reviews.llvm.org/D17871 llvm-svn: 262684
…
Description
llvm with tablegen backend for capstone disassembler
Languages
LLVM
34.8%
C++
32.7%
C
19.6%
Assembly
8.6%
MLIR
1.2%
Other
2.7%