<html>
<head>
<base href="https://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 --- - OS X: TestGlobalVariables dwarf is not finding the static const int g_file_static_int"
href="https://llvm.org/bugs/show_bug.cgi?id=25872">25872</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>OS X: TestGlobalVariables dwarf is not finding the static const int g_file_static_int
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</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>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>todd.fiala@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>This looks like it started happening very recently:
runCmd: frame variable --show-types --scope --show-globals --no-args
output: STATIC: (const char *) g_func_static_cstr = 0x0000000103c65f69
"g_func_static_cstr"
STATIC: (const char *) g_file_static_cstr = 0x0000000103c65f83
"g_file_static_cstr"
STATIC: (const char *) g_func_static_cstr = 0x0000000103c65f69
"g_func_static_cstr"
GLOBAL: (const char *) g_file_global_cstr = 0x0000000103c65f56
"g_file_global_cstr"
GLOBAL: (int) g_common_1 = 21
GLOBAL: (int) g_file_global_int = 42
Expecting sub string: GLOBAL: (int) g_file_global_int = 42
Matched
Expecting sub string: STATIC: (const int) g_file_static_int = 2
Not matched
FAIL
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type
'lldb::SBProcess *' at 0x112aafea0> >>: success
Traceback (most recent call last):
File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 2263, in dwarf_test_method
return attrvalue(self)
File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 608, in wrapper
func(*args, **kwargs)
File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py",
line 60, in test
'GLOBAL: (int) g_common_1 = 21'])
File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 2715, in expect
msg if msg else EXP_MSG(str, exe))
AssertionError: False is not True : Variable(s) displayed correctly
Config=x86_64-clang
Session info generated @ Thu Dec 17 10:46:37 2015
To rerun this test, issue the following command from the 'test' directory:
./dotest.py -A x86_64 -C clang -v -t -f GlobalVariablesTestCase.test_dwarf
OS X 10.11.2 (15C50)
Xcode 7.2 (7C68)</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>