diff options
author | Tom Stellard <tstellar@redhat.com> | 2022-03-08 15:10:39 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-03-08 15:10:41 -0800 |
commit | fb616c9b312cc3726f0ef587c6ea66512fb4538f (patch) | |
tree | 4339bfee65967de4330479b82a08af256f1dddbd /llvm/lib/CodeGen/SafeStack.cpp | |
parent | 8bdbcfe7d8b0f5ab08fe4b688c3d698f38097b6b (diff) | |
download | llvm-fb616c9b312cc3726f0ef587c6ea66512fb4538f.zip llvm-fb616c9b312cc3726f0ef587c6ea66512fb4538f.tar.gz llvm-fb616c9b312cc3726f0ef587c6ea66512fb4538f.tar.bz2 |
SafeStack: Re-enable SafeStack coloring optimization
This was disabled in 2acea2786b9fd40e1aba018b165834168535e164 as a
work-around for Issue #31491. I've reduced the test case from that bug
and confirmed that it is now fixed.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D120866
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SafeStack.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SafeStack.cpp b/llvm/lib/CodeGen/SafeStack.cpp index 3d8a7ee..9a653e4 100644 --- a/llvm/lib/CodeGen/SafeStack.cpp +++ b/llvm/lib/CodeGen/SafeStack.cpp @@ -97,10 +97,9 @@ static cl::opt<bool> SafeStackUsePointerAddress("safestack-use-pointer-address", cl::init(false), cl::Hidden); -// Disabled by default due to PR32143. static cl::opt<bool> ClColoring("safe-stack-coloring", cl::desc("enable safe stack coloring"), - cl::Hidden, cl::init(false)); + cl::Hidden, cl::init(true)); namespace { |