This is an archive of the discontinued LLVM Phabricator instance.

Use libcxx's default rune table with the Musl C library.
ClosedPublic

Authored by vkalintiris on Nov 23 2015, 7:10 AM.

Details

Summary

Also, there are no exported character type tables from Musl so we have to
Fallback to the standard functions. This reduces the number of libcxx's
test-suite failures down to ~130 for MIPS. Most of the remaining failures
come from the atomics (due to the lack of 8-byte atomic-ops in MIPS32) and
thread tests.

Diff Detail

Repository
rL LLVM

Event Timeline

vkalintiris retitled this revision from to Use libcxx's default rune table with the Musl C library..
vkalintiris updated this object.
vkalintiris added a subscriber: cfe-commits.

@dalias: Can you take a correctness-look at this patch?

include/__locale
411–415 ↗(On Diff #40926)

Which typedef should we choose for mask?

jroelofs accepted this revision.Nov 23 2015, 8:18 AM
jroelofs edited edge metadata.

LGTM

include/__locale
411–415 ↗(On Diff #40926)

If you're using libcxx's table, you should use typedef unsigned long mask.

This revision is now accepted and ready to land.Nov 23 2015, 8:18 AM
This revision was automatically updated to reflect the committed changes.