Page MenuHomeFreeBSD

Improve computation of {BC,LL}OBJS.
ClosedPublic

Authored by jonathan on Oct 17 2017, 4:09 PM.
Tags
None
Referenced Files
F156463632: D12701.id34084.diff
Wed, May 13, 8:42 PM
F156456743: D12701.id.diff
Wed, May 13, 7:41 PM
F156427435: D12701.id34084.diff
Wed, May 13, 3:22 PM
Unknown Object (File)
Mon, May 11, 1:36 PM
Unknown Object (File)
Mon, May 11, 11:29 AM
Unknown Object (File)
Thu, May 7, 3:25 PM
Unknown Object (File)
Thu, Apr 30, 12:25 PM
Unknown Object (File)
Thu, Apr 30, 4:12 AM
Subscribers

Details

Summary

Now that OBJS has grown an OBJS_SRCS_FILTER variable, use this variable
in the computation of BCOBJS and LLOBJS too. Also move BCOBJS and LLOBJS
computation to be next to the OBJS computation: this should both make
the parallel structure clearer and serve to remind people changing OBJS
that parallel changes are required in BCOBJS and LLOBJS.

A side effect of this change is that BCOBJS and LLOBJS will be available
even when LLVM_LINK has not been defined, but that seems like a positive
change: there's no reason we can't ask "what bitcode files would you
generate" just because we can't link those files together into a
complete bitcode representation of a binary or library.

Diff Detail

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

Event Timeline

  • Prefer += to = when computing {BC,LL}OBJS.

Ok so apart from moving the definitions, the key improvement is suppressing .bco etc. for .asm ?

This revision is now accepted and ready to land.Oct 17 2017, 6:47 PM
In D12701#263694, @sjg wrote:

Ok so apart from moving the definitions, the key improvement is suppressing .bco etc. for .asm ?

Yup, that's right.

This revision was automatically updated to reflect the committed changes.