Skip to content

Commit

Permalink
[BOLT][NFC] Fix white space
Browse files Browse the repository at this point in the history
(cherry picked from FBD16473918)
  • Loading branch information
maksfb committed Jul 25, 2019
1 parent 744a241 commit 98fdba2
Show file tree
Hide file tree
Showing 14 changed files with 185 additions and 185 deletions.
2 changes: 1 addition & 1 deletion bolt/src/BinaryFunction.h
Expand Up @@ -1838,7 +1838,7 @@ class BinaryFunction {

// Register our island at global namespace
Symbol = BC.getOrCreateGlobalSymbol(Address, "ISLANDat");

// Internal bookkeeping
const auto Offset = Address - getAddress();
assert((!IslandOffsets.count(Offset) || IslandOffsets[Offset] == Symbol) &&
Expand Down
6 changes: 3 additions & 3 deletions bolt/src/DWARFRewriter.h
Expand Up @@ -33,11 +33,11 @@ class DWARFRewriter {
SectionPatchersType &SectionPatchers;

SimpleBinaryPatcher *DebugInfoPatcher{nullptr};

std::mutex DebugInfoPatcherMutex;

DebugAbbrevPatcher *AbbrevPatcher{nullptr};

std::mutex AbbrevPatcherMutex;

/// Stores and serializes information that will be put into the .debug_ranges
Expand Down Expand Up @@ -76,7 +76,7 @@ class DWARFRewriter {

/// Abbreviations that were converted to use DW_AT_ranges.
std::set<const DWARFAbbreviationDeclaration *> ConvertedRangesAbbrevs;

/// DIEs with abbrevs that were not converted to DW_AT_ranges.
/// We only update those when all DIEs have been processed to guarantee that
/// the abbrev (which is shared) is intact.
Expand Down
2 changes: 1 addition & 1 deletion bolt/src/DebugData.cpp
Expand Up @@ -172,7 +172,7 @@ uint64_t DebugLocWriter::addList(const DWARFDebugLoc::LocationList &LocList) {
// unique and correct offsets in patches.
std::lock_guard<std::mutex> Lock(WriterMutex);
const auto EntryOffset = SectionOffset;

for (const auto &Entry : LocList.Entries) {
Writer->writeLE64(Entry.Begin);
Writer->writeLE64(Entry.End);
Expand Down
2 changes: 1 addition & 1 deletion bolt/src/Exceptions.cpp
Expand Up @@ -364,7 +364,7 @@ void BinaryFunction::parseLSDA(ArrayRef<uint8_t> LSDASectionData,
void BinaryFunction::updateEHRanges() {
if (getSize() == 0)
return;

assert(CurrentState == State::CFG_Finalized && "unexpected state");

// Build call sites table.
Expand Down

0 comments on commit 98fdba2

Please sign in to comment.