Page MenuHomeFreeBSD

compiler_rt changes for RISC-V
ClosedPublic

Authored by br on Jan 21 2016, 4:25 PM.
Tags
None
Referenced Files
F161364635: D5021.id12560.diff
Fri, Jul 3, 4:30 AM
F161350749: D5021.id12570.diff
Fri, Jul 3, 1:55 AM
F161344445: D5021.id12568.diff
Fri, Jul 3, 12:31 AM
F161337826: D5021.id12605.diff
Thu, Jul 2, 11:01 PM
F161336361: D5021.id12569.diff
Thu, Jul 2, 10:46 PM
F161336155: D5021.id.diff
Thu, Jul 2, 10:43 PM
F161327213: D5021.id12604.diff
Thu, Jul 2, 8:43 PM
Unknown Object (File)
Thu, Jul 2, 1:18 AM
Subscribers
None

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br retitled this revision from to compiler_rt changes for RISC-V.
br updated this object.
br edited the test plan for this revision. (Show Details)
br added reviewers: andrew, emaste.
contrib/compiler-rt/lib/builtins/int_lib.h
76–83

The comment doesn't match the #if condition now.

Presumably it's any version of GCC, and targeting an arch that does not have dedicated bit counting instructions. We'll also need to push this upstream.

contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
80–81

Do you know if these values will apply on Linux as well?

contrib/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc
98 ↗(On Diff #12560)

RISC-V comment?

contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
80–81

They actually do that:

const unsigned struct_kernel_stat_sz = 128;
const unsigned struct_kernel_stat64_sz = 128;
br marked 3 inline comments as done.Jan 21 2016, 6:23 PM
emaste edited edge metadata.
This revision is now accepted and ready to land.Jan 22 2016, 4:46 PM
br edited edge metadata.

Mark TODO

This revision now requires review to proceed.Jan 22 2016, 4:55 PM
emaste edited edge metadata.
This revision is now accepted and ready to land.Jan 22 2016, 4:58 PM
This revision was automatically updated to reflect the committed changes.