[BOLT] Fix build with GCC 7.3.0
authorVladislav Khmelevsky <och95@yandex.ru>
Tue, 19 Apr 2022 15:48:27 +0000 (18:48 +0300)
committerVladislav Khmelevsky <och95@yandex.ru>
Thu, 21 Apr 2022 10:47:58 +0000 (13:47 +0300)
commit63686af1e1d1848ccbc3deb87012050922a0c51b
treee5be1ebcafb917714999f48abe31a4610f3412ea
parentb4231ac4bef653a798162f186d2ba7b4e88e7ff7
[BOLT] Fix build with GCC 7.3.0

The gcc 7.3.0 version raises "could not covert" error without std::move
used explicitly.

Differential Revision: https://reviews.llvm.org/D124009
bolt/lib/Core/BinaryContext.cpp
bolt/lib/Rewrite/MachORewriteInstance.cpp
bolt/lib/Rewrite/RewriteInstance.cpp