mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
75c0a2f7ee
commit
6993ed5c52
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user