Closed
Description
Previous ID | SR-2136 |
Radar | rdar://problem/27459201 |
Original Reporter | @trfiala |
Type | Bug |
Status | Closed |
Resolution | Done |
Environment
swift-lldb/master-next branch, Ubuntu 16.04 x86_64, Ubuntu 14.04 x86_64. This happens only with the build layout of lldb/swift. It does not manifest when using the install layout of lldb and swift.
Additional Detail from JIRA
Votes | 0 |
Component/s | LLDB for Swift |
Labels | Bug, Linux |
Assignee | @trfiala |
Priority | Medium |
md5: 6e445793b80bac593e7606ca7900ace4
relates to:
- SR-1300 LLDB REPL tests fail on Ubuntu when not run from install layout
Issue Description:
After merging LLVM.org LLDB trunk @r276079 into swift-lldb/master-next, we're getting an assert in many of the LLDB Swift tests here:
swift/lib/ClangImporter/ClangImporter.cpp:402: Assertion !GlibcModuleMapPath.empty() failed
It looks like we're not finding a resource dir to hand over to Swift when we create a clang importer as part of setting up a SwiftASTContext for each module. This might be a temporal issue where we would have found it later.