summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSectionCOFF.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-01-30 15:38:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-01-30 15:38:43 +0000
commite0eba3c4937fcb48e029e017b0783bf5642bdc3f (patch)
tree2488c159784051492c201b38932406128833dbab /llvm/lib/MC/MCSectionCOFF.cpp
parent5b56f2d6cb62feec5864cd16b6001943b35896ad (diff)
downloadbcm5719-llvm-e0eba3c4937fcb48e029e017b0783bf5642bdc3f.tar.gz
bcm5719-llvm-e0eba3c4937fcb48e029e017b0783bf5642bdc3f.zip
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. llvm-svn: 293484
Diffstat (limited to 'llvm/lib/MC/MCSectionCOFF.cpp')
-rw-r--r--llvm/lib/MC/MCSectionCOFF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCSectionCOFF.cpp b/llvm/lib/MC/MCSectionCOFF.cpp
index f2dd47d81b7..4e2df01c89c 100644
--- a/llvm/lib/MC/MCSectionCOFF.cpp
+++ b/llvm/lib/MC/MCSectionCOFF.cpp
@@ -37,7 +37,7 @@ void MCSectionCOFF::setSelection(int Selection) const {
Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT;
}
-void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI,
+void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T,
raw_ostream &OS,
const MCExpr *Subsection) const {
OpenPOWER on IntegriCloud