<div dir="ltr">Hi,<div><br></div><div>I'm trying to run TestCModules.py on OSX 10.10 - building Debug configuration with "xcodebuild -scheme lldb-tool -workspace lldb.xcworkspace -configuration Debug build" and then running test with such command line:</div><div><br></div><div>/Users/ovyalov/lldb/git/lldb/test/dotest.py -t -v --executable /Users/ovyalov/lldb/git/lldb/DerivedData/lldb/Build/Products/Debug/lldb --framework /Users/ovyalov/lldb/git/lldb/DerivedData/lldb/Build/Products/Debug/LLDB.framework -A x86_64 -C clang -s /Users/ovyalov/lldb/git/lldb/DerivedData/lldb-test-results -p TestCModules.py /Users/ovyalov/lldb/git/lldb/test/lang/c/modules<br></div><div><br></div><div><br></div><div>It's failing on command "expr @import Darwin; 3":</div><div><br></div><div>runCmd: expr @import Darwin; 3</div><div>runCmd failed!</div><div>error: import of C++ module 'Darwin.machine.types' appears within extern "C" language linkage specification</div><div>extern "C" language linkage specification begins here</div><div>import of C++ module 'Darwin.cdefs' appears within extern "C" language linkage specification</div><div>extern "C" language linkage specification begins here</div><div>import of C++ module 'Darwin.POSIX.sys.types._int8_t' appears within extern "C" language linkage specification</div><div>extern "C" language linkage specification begins here-- <br></div><div>...</div><div><br></div><div>Sean,</div><div>you modified this test recently and I assume it's passing for you - could you share what clang version you're using to build lldb and command line to run TestCModules.py?</div><div><br></div><div>Thank you.</div><div><br></div><div><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(85,85,85);font-family:sans-serif;line-height:20px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(213,15,37);padding-top:2px;margin-top:2px;background-color:rgb(255,255,255)">Oleksiy Vyalov |</span><span style="color:rgb(85,85,85);font-family:sans-serif;line-height:20px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px;background-color:rgb(255,255,255)"> Software Engineer |</span><span style="color:rgb(85,85,85);font-family:sans-serif;line-height:20px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(0,153,57);padding-top:2px;margin-top:2px;background-color:rgb(255,255,255)"> <a href="mailto:ovyalov@google.com" target="_blank">ovyalov<font color="#1155cc">@google.com</font></a></span></div></div>
</div></div>