MCPcopy Create free account
hub / github.com/GPUOpen-Tools/radeon_gpu_analyzer / SetAddrAlign

Method SetAddrAlign

external/celf/Src/CElfSection.cpp:84–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84bool
85CElfSection::SetAddrAlign(
86 Elf64_Xword align)
87{
88 // Only positive powers of 1 are valid.
89 bool check = (align & (align - 1)) == 0;
90
91 if (!check)
92 {
93 return false;
94 }
95
96 m_Header.sh_addralign = align;
97 return true;
98}
99
100Elf64_Xword
101CElfSection::GetEntrySize() const

Callers 1

CopyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected