[llvm-bugs] [Bug 42238] New: StackProtector misses some captures
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 11 12:00:10 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42238
Bug ID: 42238
Summary: StackProtector misses some captures
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: Matthew.Arsenault at amd.com
CC: llvm-bugs at lists.llvm.org
StackProtector::HasAddressTaken has a whitelist of instructions that may
capture, and it is out of date. It assumes anything it doesn't know about
doesn't capture. Since this ancient pass was added, AddrSpaceCast and
AtomicCmpXChg have been added as new potential captures. This should use
CaptureTracking instead of maintaining its own capture detection
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190611/832360dd/attachment.html>
More information about the llvm-bugs
mailing list