[BOLT] Get rid of BinarySection::IsLocal

Summary: The flag is no longer used/needed.

(cherry picked from FBD19951571)
This commit is contained in:
Maksim Panchenko
2020-02-18 09:20:17 -08:00
parent 16630f5c58
commit 9711286858
6 changed files with 25 additions and 41 deletions

View File

@@ -67,7 +67,7 @@ uint8_t *ExecutableFileMemoryManager::allocateSection(intptr_t Size,
assert(Section.isAllocatable() &&
"verify that allocatable is marked as allocatable");
DEBUG(dbgs() << "BOLT: allocating " << (Section.isLocal() ? "local " : "")
DEBUG(dbgs() << "BOLT: allocating "
<< (IsCode ? "code" : (IsReadOnly ? "read-only data" : "data"))
<< " section : " << SectionName
<< " with size " << Size << ", alignment " << Alignment