<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Building with RelWithDebInfo does not make -debug available"
href="https://bugs.llvm.org/show_bug.cgi?id=44375">44375</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Building with RelWithDebInfo does not make -debug available
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stefanos.baziotis@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>