summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRPrinter.cpp
diff options
context:
space:
mode:
authorSanjin Sijaric <ssijaric@codeaurora.org>2018-10-24 21:07:38 +0000
committerSanjin Sijaric <ssijaric@codeaurora.org>2018-10-24 21:07:38 +0000
commit625d08eea1f462de66130d0a09cf51d66f27e942 (patch)
tree178cef112c1fe396c036b480c3c3cf644eb78364 /llvm/lib/CodeGen/MIRPrinter.cpp
parenta0d18b63141a5231d9f1d2ddd5b46bcd1d0a85d1 (diff)
downloadbcm5719-llvm-625d08eea1f462de66130d0a09cf51d66f27e942.tar.gz
bcm5719-llvm-625d08eea1f462de66130d0a09cf51d66f27e942.zip
[MIR] Add hasWinCFI field
Adding hasWinCFI field so that I can add MIR test cases to https://reviews.llvm.org/D50166. Differential Revision: https://reviews.llvm.org/D51201 llvm-svn: 345196
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp
index 88e2f16d3fd..80129463715 100644
--- a/llvm/lib/CodeGen/MIRPrinter.cpp
+++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -196,6 +196,7 @@ void MIRPrinter::print(const MachineFunction &MF) {
YamlMF.Name = MF.getName();
YamlMF.Alignment = MF.getAlignment();
YamlMF.ExposesReturnsTwice = MF.exposesReturnsTwice();
+ YamlMF.HasWinCFI = MF.hasWinCFI();
YamlMF.Legalized = MF.getProperties().hasProperty(
MachineFunctionProperties::Property::Legalized);
OpenPOWER on IntegriCloud