[llvm-bugs] [Bug 41193] New: -warn-stack-size not issuing warning

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 21 21:31:33 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41193

            Bug ID: 41193
           Summary: -warn-stack-size not issuing warning
           Product: new-bugs
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nick at indigorenderer.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 21649
  --> https://bugs.llvm.org/attachment.cgi?id=21649&action=edit
optimised LLVM IR

I'm using the C++ LLVM API, and also setting -warn-stack-size=0, so any stack
usage greater than zero bytes should give me a warning (via a callback).
However I get not warning from the attached code.

This looks like a bug since the function f_int64_ uses 64 bytes of stacks
space.

Platform LLVM 6.0, Linux x64

-- 
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/20190322/6a08460d/attachment-0001.html>


More information about the llvm-bugs mailing list