This is an archive of the discontinued LLVM Phabricator instance.

[ELF][MIPS] Turn Config->Threads off for MIPS targets
ClosedPublic

Authored by atanasyan on Nov 22 2016, 9:23 PM.

Details

Summary

For now MipsGotSection class is not ready for concurrent access from multiple threads. The problem is in the getPageEntryOffset method. It changes state of MipsGotSection object and might be called from different threads at the same time. So turn Threads off for this target.

It's a temporary solution. The patch fixes MipsGotSection::getPageEntryOffset is almost ready.

Diff Detail

Repository
rL LLVM

Event Timeline

atanasyan updated this revision to Diff 79023.Nov 22 2016, 9:23 PM
atanasyan retitled this revision from to [ELF][MIPS] Turn Config->Threads off for MIPS targets.
atanasyan updated this object.
atanasyan added a reviewer: ruiu.
atanasyan set the repository for this revision to rL LLVM.
atanasyan added a project: lld.
atanasyan added a subscriber: llvm-commits.
ruiu accepted this revision.Nov 22 2016, 9:24 PM
ruiu edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 22 2016, 9:24 PM
This revision was automatically updated to reflect the committed changes.