[BOLT][NFC] Replace anonymous namespace functions with static
authorAmir Ayupov <aaupov@fb.com>
Tue, 7 Feb 2023 01:38:20 +0000 (17:38 -0800)
committerAmir Ayupov <aaupov@fb.com>
Tue, 7 Feb 2023 02:05:41 +0000 (18:05 -0800)
commitbe2f67c4d87deb513ba200ab3f4dba385faf709a
treeb75b7f54b65183a5e6e160a2f079634b42908661
parent52b34d281dfc81f83be149924464a92ced3e504e
[BOLT][NFC] Replace anonymous namespace functions with static

Follow LLVM Coding Standards guideline on using anonymous namespaces
(https://llvm.org/docs/CodingStandards.html#anonymous-namespaces)
and use `static` modifier for function definitions.

Reviewed By: #bolt, maksfb

Differential Revision: https://reviews.llvm.org/D143124
bolt/lib/Core/BinaryFunction.cpp
bolt/lib/Core/DebugData.cpp
bolt/lib/Core/Relocation.cpp
bolt/lib/Passes/Aligner.cpp
bolt/lib/Passes/AllocCombiner.cpp
bolt/lib/Passes/BinaryPasses.cpp
bolt/lib/Passes/CallGraph.cpp
bolt/lib/Passes/IdenticalCodeFolding.cpp
bolt/lib/Passes/Instrumentation.cpp
bolt/lib/Passes/LongJmp.cpp