aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SafeStackLayout.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2020-06-15 02:26:28 -0700
committerVitaly Buka <vitalybuka@google.com>2020-06-17 01:07:47 -0700
commit6754a0e2edde23eb7a58601fbf0c33a856dc837a (patch)
treefefb7417952f4965f34694ae72ac41b11e60236c /llvm/lib/CodeGen/SafeStackLayout.cpp
parentd3f7448e3ca5535fbaaa728a82e05649b2220bdd (diff)
downloadllvm-6754a0e2edde23eb7a58601fbf0c33a856dc837a.zip
llvm-6754a0e2edde23eb7a58601fbf0c33a856dc837a.tar.gz
llvm-6754a0e2edde23eb7a58601fbf0c33a856dc837a.tar.bz2
[SafeStack,NFC] Move SafeStackColoring code
Summary: This code is going to be used in StackSafety. This patch is file move with minimal changes. Identifiers will be fixed in the followup patch. Reviewers: eugenis, pcc Reviewed By: eugenis Subscribers: mgorny, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81831
Diffstat (limited to 'llvm/lib/CodeGen/SafeStackLayout.cpp')
-rw-r--r--llvm/lib/CodeGen/SafeStackLayout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SafeStackLayout.cpp b/llvm/lib/CodeGen/SafeStackLayout.cpp
index 0d09657..3feb850 100644
--- a/llvm/lib/CodeGen/SafeStackLayout.cpp
+++ b/llvm/lib/CodeGen/SafeStackLayout.cpp
@@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
#include "SafeStackLayout.h"
+#include "llvm/Analysis/StackLifetime.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"