[llvm-bugs] [Bug 39790] New: -fno-plt seems to trash stack frame
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Nov 26 07:17:15 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39790
Bug ID: 39790
Summary: -fno-plt seems to trash stack frame
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: npl at chello.at
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 21159
--> https://bugs.llvm.org/attachment.cgi?id=21159&action=edit
code reproducing the issue, and assembly both with and without -fno-plt
See the attached example program and generated assembly.
Using -fno-plt seems to mess up the stack frame, I cant really pinpoint the
issue and when its triggered, values just point to wrong places.
My system is debian buster x86_64, with clang++ being:
clang version 7.0.0-6 (tags/RELEASE_700/final)
(This is potentially a duplicate of 39252)
--
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/20181126/99f23fb9/attachment.html>
More information about the llvm-bugs
mailing list