Page MenuHomeFreeBSD

Build libclang_rt/profile on all clang-supported architectures
ClosedPublic

Authored by ngie on Apr 22 2019, 5:57 AM.
Tags
None
Referenced Files
F163202001: D20003.id56508.diff
Tue, Jul 21, 12:32 AM
Unknown Object (File)
Mon, Jul 20, 3:03 AM
Unknown Object (File)
Sun, Jul 19, 7:31 PM
Unknown Object (File)
Sat, Jul 18, 2:11 PM
Unknown Object (File)
Sat, Jul 18, 6:42 AM
Unknown Object (File)
Sun, Jul 12, 11:09 PM
Unknown Object (File)
Tue, Jul 7, 2:57 PM
Unknown Object (File)
Sun, Jul 5, 4:05 AM
Subscribers

Details

Summary

There's no reason why a special case needs to be added specifically for amd64,
arm, and i386, as the code is written in machine architecture agnostic C/C++.

This will make it possible for all supporting clang architectures to produce
runtime coverage with --coverage.

MFC after: 2 weeks

Test Plan

"make tinderbox"

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ngie retitled this revision from Build libclang_rt/profile on all clang-supported architectures <<Replace this line with your revision title> to Build libclang_rt/profile on all clang-supported architectures.Apr 22 2019, 5:57 AM
ngie planned changes to this revision.Apr 22 2019, 7:56 AM

This moved SUBDIR+= profile inside another .if block :/...

IIRC in the past I tried this on other architectures, and got errors, but if you've ran universe or tinderbox builds with this, I'm fine with it.

Move the SUBDIR+= profile outside the architecture dependent blocks

Tested with "make universe", including the relevant change (^/projects/runtime-coverage-v2@r346532).

This revision was not accepted when it landed; it landed in state Needs Review.Apr 22 2019, 7:21 PM
This revision was automatically updated to reflect the committed changes.