HomePhabricator

[gnu-objc] Make selector order deterministic.

Description

[gnu-objc] Make selector order deterministic.

Summary:
This probably fixes PR35277, though there may be other sources of
nondeterminism (this was the only case of iterating over a DenseMap).

It's difficult to provide a test case for this, because it shows up only
on systems with ASLR enabled.

Reviewers: rjmccall

Reviewed By: rjmccall

Subscribers: bmwiedemann, mgrang, cfe-commits

Differential Revision: https://reviews.llvm.org/D50559

Details

Committed
theravenAug 14 2018, 3:05 AM
Reviewer
rjmccall
Differential Revision
D50559: [gnu-objc] Make selector order deterministic.
Parents
rC339667: Add a stub mangling for ObjC selectors in the Microsoft ABI.
Branches
Unknown
Tags
Unknown