<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/75667>75667</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Assertion failure in LLDB tests between 08b306dc8e7c0b2498f4f194a3c51686d56dbd20 and 9a578a9f602547bb7b0cdf54d4759eab20d150b3
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            bug,
            lldb
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          ilovepi
      </td>
    </tr>
</table>

<pre>
    Our CI is finding an assertion failure in lldb tests. Unfortunately, our  CI was red between 08b306dc8e7c0b2498f4f194a3c51686d56dbd20 and the revert in 9a578a9f602547bb7b0cdf54d4759eab20d150b3, and the range of possible commits is quite large.

I'm including a bot link, but as mentioned our CI had a different build issue that covered this up, so features like the blame won't be too helpful. Also do note that these are normal Linux builds of LLVM + LLDB.

Failing bot: https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8761608419590679121/overview

Failing Tests:
lldb-api :: commands/expression/import-std-module/deque-basic/TestDequeFromStdModule.py
lldb-api :: commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py
lldb-api :: commands/expression/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardListFromStdModule.py
lldb-api :: commands/expression/import-std-module/forward_list/TestForwardListFromStdModule.py
lldb-api :: commands/expression/import-std-module/list/TestListFromStdModule.py
lldb-api :: commands/expression/import-std-module/non-module-type-separation/TestNonModuleTypeSeparation.py
lldb-api :: commands/expression/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContentFromStdModule.py
lldb-api :: commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
lldb-api :: commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py
lldb-api :: commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py

Error output:
```
******************** TEST 'lldb-api :: commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py' FAILED ********************
Script:
--
/b/s/w/ir/x/w/lldb_install/python3/bin/python3 /b/s/w/ir/x/w/llvm-llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env ARCHIVER=/b/s/w/ir/x/w/cipd/bin/llvm-ar --env OBJCOPY=/b/s/w/ir/x/w/cipd/bin/llvm-objcopy --env LLVM_LIBS_DIR=/b/s/w/ir/x/w/llvm_build/./lib --env LLVM_INCLUDE_DIR=/b/s/w/ir/x/w/llvm_build/include --env LLVM_TOOLS_DIR=/b/s/w/ir/x/w/llvm_build/./bin --libcxx-include-dir /b/s/w/ir/x/w/llvm_build/include/c++/v1 --libcxx-include-target-dir /b/s/w/ir/x/w/llvm_build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /b/s/w/ir/x/w/llvm_build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex --lldb-module-cache-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /b/s/w/ir/x/w/llvm_build/./bin/lldb --compiler /b/s/w/ir/x/w/llvm_build/./bin/clang --dsymutil /b/s/w/ir/x/w/llvm_build/./bin/dsymutil --llvm-tools-dir /b/s/w/ir/x/w/llvm_build/./bin --lldb-libs-dir /b/s/w/ir/x/w/llvm_build/./lib /b/s/w/ir/x/w/llvm-llvm-project/lldb/test/API/commands/expression/import-std-module/weak_ptr -p TestWeakPtrFromStdModule.py
--
Exit Code: -6

Command Output (stdout):
--
lldb version 18.0.0git (https://llvm.googlesource.com/a/llvm-project revision 9a578a9f602547bb7b0cdf54d4759eab20d150b3)
  clang revision 9a578a9f602547bb7b0cdf54d4759eab20d150b3
  llvm revision 9a578a9f602547bb7b0cdf54d4759eab20d150b3

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/b/s/w/ir/x/w/llvm_build/bin/clang-x86_64) :: test_dsym (TestWeakPtrFromStdModule.TestSharedPtr) (test case does not fall in any category of interest for this run) 
python3: clang/lib/Basic/SourceManager.cpp:865: FileID clang::SourceManager::getFileIDLoaded(SourceLocation::UIntTy) const: Assertion `0 && "Invalid SLocOffset or bad function choice"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00007f677ed1ea28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) Signals.cpp:0:0

--
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8WFtz4joS_jXKS5cpI8CGBx4IxLtsMZPUkJk9-5TSpQ06EZKPJBP491uSncxkztySnWwVuHxRf9-n7lbrwrxXO4M4J5NLMlldsDbsrZsrbY_YqAtu5Xl-3TpYrkF5qJWRyuyAGWDeowvKGqiZ0q1DUAa0lhwC-uAH8NHU1oXWsID6TOgSbOsg4jwwDw4lcAwPiAbyKR_lhRRTLEXO6Xg2rcf1cDZmIzEZFtNCTgrJJc2BGQlhj-DwiC5EvhmblFM2q4ucTsYl5yXPhawnYzkuJzNknOZyOMn5KNI_WTOzQ7A1NNZ7xTWCsIeDCj528K9WBQTN3A4HJF-RfNFd14SWB1BG6LZzAHAbQCtzH6F5G4B5OKCJDkGZurpcw55JYCBVXaNDE4C3SktQ3rcIYc8CCHvE6IqwVx7aJmJ5CzWy0Dr0oNU9Js1cswPCgzWElgE4QrAW9qibutUDWGhvQVowNvS4YY8egTkEY92Badgo0546fh_7vtl8egeEXsJms7p81tOKKR17yG0gowXsQ2g8GS0IrQitdCtUdlDaDljT-MaGgbAHQqtWEVo1hFZ1K_ZeMUKrxIXOE1oFa7XYM2UGIrYTmpldpqOi7FSMY9tpWQyLfDoeziazvChnQzoktIrOOSp8-Ja825hkUVd6G_MuY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