[Lldb-commits] [lldb] [llvm] [lldb] Add HTTP support in SymbolLocatorSymStore (PR #186986)

Stefan Gränitz via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 26 08:40:27 PDT 2026


weliveindetail wrote:

There are no commits in the batch of 7174 that could caused the regression. There were also no commits in llvm/clang/lldb since 7173 that could have slipped through and be responsible. A change on the build machine must be the reason for this regression.

The error output clearly originates from here:
https://github.com/llvm/llvm-project/blob/79f3104e09e8c7885a1cf12743562c83819af7d7/lldb/source/Plugins/SymbolLocator/SymStore/SymbolLocatorSymStore.cpp#L210

We use `llvm::sys::fs::cache_directory()` to determine the path and on the build machine we get `C:\Users\Default\AppData\Local\lldb`. On my machine it's the user home directory and not the one of the `Default` user. Maybe that's an issue.

Internally, LLVM's libSupport is requesting `FOLDERID_LocalAppData` from `SHGetKnownFolderPath()`. Getting back a `Default` user folder indicates that the process is running with elevated privileges (Admin), or as a system service or under the `LocalSystem` account.

The [environment config here](https://github.com/llvm/llvm-zorg/blob/0158188d622aa5ca430fe0b25f9be6832db6c450/buildbot/osuosl/master/config/builders.py#L1362-L1364)  caught my eye, because it says:
```
# TMP/TEMP within the build dir (to utilize a ramdisk).
'TMP'           : util.Interpolate("%(prop:builddir)s/build"),
'TEMP'          : util.Interpolate("%(prop:builddir)s/build"),
```

We are obviously not using it. Are we supposed to?

Also, this is copy/paste between ~10 different bot configurations across Windows and Linux. [A comment here](https://github.com/llvm/llvm-zorg/commit/990bdae3c75323db03969a1491d0d3d4fd69e523) says: "Currently identical for Linux and Windows build hosts". Maybe that changed?

The respective PR doesn't say much. @slydiman You reviewed it. Do you remember if it was a similar issue?

@vvereschaka You added the bot in https://github.com/llvm/llvm-zorg/commit/5b77f351afd293ae13b9530151b6eea9baea2822. There are no recent changes. Any idea where this sudden regression might be coming from?

https://github.com/llvm/llvm-project/pull/186986


More information about the lldb-commits mailing list