OSDN Git Service

Only print architecture dependent flags for that architecture.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 30 Jan 2017 15:38:43 +0000 (15:38 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 30 Jan 2017 15:38:43 +0000 (15:38 +0000)
commitd5702b77f0e4b346ef51f14486f5c3502b2efa12
treeae85e138b12f27cc4dfc4d8b6ed55fd8c9631b2c
parent7603d04f82a9398d700b83da5137a3b17db54d2d
Only print architecture dependent flags for that architecture.

Different architectures can have different meaning for flags in the
SHF_MASKPROC mask, so we should always check what the architecture use
before checking the flag.

NFC for now, but will allow fixing the value of an xmos flag.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293484 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSection.h
include/llvm/MC/MCSectionCOFF.h
include/llvm/MC/MCSectionELF.h
include/llvm/MC/MCSectionMachO.h
lib/MC/MCAsmStreamer.cpp
lib/MC/MCSectionCOFF.cpp
lib/MC/MCSectionELF.cpp
lib/MC/MCSectionMachO.cpp
lib/Target/NVPTX/NVPTXSection.h