[all-commits] [llvm/llvm-project] b812db: [LLVM][Debuginfod] Add missing thread include

David Spickett via All-commits all-commits at lists.llvm.org
Tue Aug 16 06:56:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b812db146477f8f7d16be7feb450d3225038e125
      https://github.com/llvm/llvm-project/commit/b812db146477f8f7d16be7feb450d3225038e125
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-08-16 (Tue, 16 Aug 2022)

  Changed paths:
    M llvm/lib/Debuginfod/Debuginfod.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list