Skip to content

Commit

Permalink
Remove locking before calls to convertDebugOffset
Browse files Browse the repository at this point in the history
It uses a lock internally.
  • Loading branch information
hainest committed Oct 30, 2023
1 parent 95254a1 commit 2e56eb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions symtabAPI/src/Object-elf.C
Expand Up @@ -1867,7 +1867,6 @@ bool Object::parse_symbols(Elf_X_Data &symdata, Elf_X_Data &strdata,
soffset = soffset_dbg;
if (soffset_dbg) {
bool result;
#pragma omp critical
result = convertDebugOffset(soffset_dbg, soffset);
if (!result) {
//Symbol does not match any section, can't convert
Expand Down Expand Up @@ -2193,7 +2192,6 @@ bool Object::fix_global_symbol_modules_static_dwarf() {
Address tempModLow;
Address modLow = 0;
if (DwarfWalker::findConstant(DW_AT_low_pc, tempModLow, &cu_die, dbg)) {
#pragma omp critical
convertDebugOffset(tempModLow, modLow);
}

Expand Down

0 comments on commit 2e56eb7

Please sign in to comment.