[PATCH] Update ARM and x86 ArchHandler to match 64bits counterparts. NFC

Jean-Daniel Dupas mailing at xenonium.com
Fri Feb 13 06:46:29 PST 2015


Hi kledzik,

Define an explicit type for arch specific reference kind and use it in switch statement to make the compiler emit warnings if some case is not cover.
It will help to catch such errors when we add new mach-o reference kind.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7612

Files:
  lib/ReaderWriter/MachO/ArchHandler_arm.cpp
  lib/ReaderWriter/MachO/ArchHandler_x86.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7612.19888.patch
Type: text/x-patch
Size: 15022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150213/aafa4ec6/attachment.bin>


More information about the llvm-commits mailing list