[llvm-bugs] [Bug 44375] New: Building with RelWithDebInfo does not make -debug available

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 24 12:16:58 PST 2019


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

            Bug ID: 44375
           Summary: Building with RelWithDebInfo does not make -debug
                    available
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: stefanos.baziotis at gmail.com
                CC: llvm-bugs at lists.llvm.org

This is my first bug report so please feel free to correct me on wrong
category, duplicate etc. I could not find a duplicate and I was not sure if I
should CC someone.

So, I built LLVM with -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DLLVM_ENABLE_ASSERTIONS=On and the option -debug was not available in opt.

Then, I was informed that building with -DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_ASSERTIONS=On (notice
that the second option is the same) somehow made -debug available. To me this
is kind of weird
since RelWithDebInfo is suppose to be Release + Debug Info. So, is there a
reason that with _just_ Release
-debug is available but with RelWithDebInfo not.

Regards,
Stefanos Baziotis

-- 
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/20191224/94f4edce/attachment.html>


More information about the llvm-bugs mailing list