<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - SourceMgr.cpp:191: valgrind problem"
href="http://llvm.org/bugs/show_bug.cgi?id=19930">19930</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>SourceMgr.cpp:191: valgrind problem
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dcb314@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=12596" name="attach_12596" title="C source code">attachment 12596</a> <a href="attachment.cgi?id=12596&action=edit" title="C source code">[details]</a></span>
C source code
I tried to compile the attached code under valgrind
with trunk dated 20140601 and it said
==17140== Conditional jump or move depends on uninitialised value(s)
==17140== at 0x25D63DA: llvm::SourceMgr::GetMessage(llvm::SMLoc,
llvm::SourceMgr::DiagKind, llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>,
llvm::ArrayRef<llvm::SMFixIt>) const (SourceMgr.cpp:191)
==17140== by 0x25D67B6: llvm::SourceMgr::PrintMessage(llvm::raw_ostream&,
llvm::SMLoc, llvm::SourceMgr::DiagKind, llvm::Twine const&,
llvm::ArrayRef<llvm::SMRange>, llvm::ArrayRef<llvm::SMFixIt>, bool) const
(SourceMgr.cpp:218)
==17140== by 0x25D6B34: llvm::SourceMgr::PrintMessage(llvm::SMLoc,
llvm::SourceMgr::DiagKind, llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>,
llvm::ArrayRef<llvm::SMFixIt>, bool) const (SourceMgr.cpp:238)
==17140== by 0x1EAE224: (anonymous namespace)::AsmParser::Error(llvm::SMLoc,
llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>) (AsmParser.cpp:305)
SourceMgr.cpp:191 is
if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart)
continue;</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>