[llvm-bugs] [Bug 41962] New: Resulting image is of a different size when -Wl, -pluing-opts=save-temps is or is not specified

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 21 06:19:07 PDT 2019


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

            Bug ID: 41962
           Summary: Resulting image is of a different size when
                    -Wl,-pluing-opts=save-temps is or is not specified
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: belangerj at ainfosec.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

When I compile/link a C program I have (this also fails with C++ programs), the
resulting image is of a different size depending upon whether
-Wl,-plugin-opts=save-temps is specified or not.  I'm not sure if this is a
clang issue or an lld issue, but it is pretty consistent.  It is my assumption
that save-temps should just save the temporary files, but not change any
optimizations or affect the image size.

-- 
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/20190521/2897dc85/attachment.html>


More information about the llvm-bugs mailing list