[LLVM][Debuginfod] Add missing thread include
authorDavid Spickett <david.spickett@linaro.org>
Tue, 16 Aug 2022 13:50:37 +0000 (13:50 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Tue, 16 Aug 2022 13:56:23 +0000 (13:56 +0000)
commitb812db146477f8f7d16be7feb450d3225038e125
tree85735a229b97d1bddfbf49e42e6f93a526b8c7b5
parent65d83ba34378b8e740c5203fe46a9c50d2aeb862
[LLVM][Debuginfod] Add missing thread include

One of our silent bots is currently failing:
https://lab.llvm.org/staging/#/builders/171/builds/169

With:
<...>/Debuginfod.cpp:298:23: error: no type named 'sleep_for' in namespace 'std::this_thread'
    std::this_thread::sleep_for(Interval);
    ~~~~~~~~~~~~~~~~~~^

Add missing thread include to that file,
which is what all the other users of sleep_for do.

I think we are seeing this now because we disabled
llvm threading for this builder. Maybe debuginfod should account
for that but that's for another time.
llvm/lib/Debuginfod/Debuginfod.cpp