[Support] Add storage specifier for MachO::NListType.
authorLang Hames <lhames@gmail.com>
Fri, 29 Jul 2016 23:17:53 +0000 (23:17 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 29 Jul 2016 23:17:53 +0000 (23:17 +0000)
commit6ecbd16f008b7c18d871f5850dae30b0dc4889ed
tree3a9dccf3750db00e2eee783e3b66a41f00836449
parent7256f51b1898ebaffef9d355280946020a0c1b19
[Support] Add storage specifier for MachO::NListType.

This should fix UB warnings from the sanitizer bots: LLD performs bit
manipulations on enums of this type, and these are UB if the underlying
storage type isn't specified.

llvm-svn: 277251
llvm/include/llvm/Support/MachO.h