diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:32:43 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:32:43 +0000 | 
| commit | b7eb8e35e481a74962664b63dfb09483b200209a (patch) | |
| tree | 1937fb4a348458ce2d02ade03ac3bb0aa18d2fcd /lib/CodeGen/ShadowStackGCLowering.cpp | |
| parent | eb11fae6d08f479c0799db45860a98af528fa6e7 (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/ShadowStackGCLowering.cpp')
| -rw-r--r-- | lib/CodeGen/ShadowStackGCLowering.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/CodeGen/ShadowStackGCLowering.cpp b/lib/CodeGen/ShadowStackGCLowering.cpp index 25d405bf63de5..3e12b32b12d4f 100644 --- a/lib/CodeGen/ShadowStackGCLowering.cpp +++ b/lib/CodeGen/ShadowStackGCLowering.cpp @@ -175,7 +175,7 @@ bool ShadowStackGCLowering::doInitialization(Module &M) {    }    if (!Active)      return false; -   +    // struct FrameMap {    //   int32_t NumRoots; // Number of roots in stack frame.    //   int32_t NumMeta;  // Number of metadata descriptors. May be < NumRoots. @@ -286,7 +286,7 @@ bool ShadowStackGCLowering::runOnFunction(Function &F) {    if (!F.hasGC() ||        F.getGC() != std::string("shadow-stack"))      return false; -   +    LLVMContext &Context = F.getContext();    // Find calls to llvm.gcroot. | 
