Reduce binaries sizes 2/n

Observed about 50MB reduction in overall binaries size (directory build))
when building all targets
with MSVC (Visual Studio 2022 17.3.0 preview 6)
using Debug 64 configuration.

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2022-12-08 14:23:49 +00:00
committed by Compute-Runtime-Automation
parent 75c0a2f7ee
commit 6993ed5c52
53 changed files with 847 additions and 847 deletions

View File

@@ -12,8 +12,8 @@
namespace NEO {
namespace Ar {
constexpr ConstStringRef arMagic = "!<arch>\n";
constexpr ConstStringRef arFileEntryTrailingMagic = "\x60\x0A";
inline constexpr ConstStringRef arMagic = "!<arch>\n";
inline constexpr ConstStringRef arFileEntryTrailingMagic = "\x60\x0A";
struct ArFileEntryHeader {
char identifier[16] = {'/', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '};
@@ -27,9 +27,9 @@ struct ArFileEntryHeader {
static_assert(60U == sizeof(ArFileEntryHeader), "");
namespace SpecialFileNames {
constexpr ConstStringRef longFileNamesFile = "//";
constexpr char longFileNamePrefix = '/';
constexpr char fileNameTerminator = '/';
inline constexpr ConstStringRef longFileNamesFile = "//";
inline constexpr char longFileNamePrefix = '/';
inline constexpr char fileNameTerminator = '/';
} // namespace SpecialFileNames
} // namespace Ar