llvm-capstone/llvm/tools/llvm-objcopy/MachO
Seiya Nuta 323b89f101 [llvm-objcopy][MachO] Fix strict-aliasing warning. NFCI
Summary:
Use MachOObjectFile::isRelocationScattered instead of reinterpret_cast.

Fixes https://bugs.llvm.org/show_bug.cgi?id=42360

Reviewers: alexshap, rupprecht, jhenderson

Reviewed By: alexshap

Subscribers: dendibakh, bjope, uabelho, jakehehrlich, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63699

llvm-svn: 364252
2019-06-24 23:39:01 +00:00
..
MachOObjcopy.cpp [llvm-objcopy][MachO] Recompute and update offset/size fields in the writer 2019-06-08 01:22:54 +00:00
MachOObjcopy.h Update new files added to llvm-objcopy to use the new file header. 2019-02-11 08:25:19 +00:00
MachOReader.cpp [llvm-objcopy][MachO] Fix strict-aliasing warning. NFCI 2019-06-24 23:39:01 +00:00
MachOReader.h [llvm-objcopy][MachO] Rebuild the symbol/string table in the writer 2019-06-21 00:21:50 +00:00
MachOWriter.cpp [llvm-objcopy][MachO] Rebuild the symbol/string table in the writer 2019-06-21 00:21:50 +00:00
MachOWriter.h [llvm-objcopy][MachO] Rebuild the symbol/string table in the writer 2019-06-21 00:21:50 +00:00
Object.cpp [llvm-objcopy][MachO] Rebuild the symbol/string table in the writer 2019-06-21 00:21:50 +00:00
Object.h [llvm-objcopy][MachO] Rebuild the symbol/string table in the writer 2019-06-21 00:21:50 +00:00