devsummit:201308:toolchainandbuild

This is an old revision of the document!


Toolchain, Build and Packaging of Base

BSDCam session, 1pm - 2:45pm, August 26.

  • LLVM Instrumentation
  • Configuration
    • Modules by default
    • Cleanup
  • Static Analysis (operational issues)
  • Tinderboxes
  • Incremental Build
  • Packaging Base
  • External Toolchain Status
  • Removing GPL from the toolchain
  • Building old FreeBSD on Head (and vice versa)

Traditional build turns a .c file into a .o file and then link the .o files. In the LLVM IR instrumentation world, you turn .c files into .ll/bc files, modify them, link them (then run link-time optimisation), then generate .o files, then link. In SOAAP, the instrumentation happens after the IR-link phase, for TESLA we run static analysis of the .c files, then instrument individual files.

There's no good way in make to express different routes from .c to .o.

  • devsummit/201308/toolchainandbuild.1377519616.txt.gz
  • Last modified: 2013/08/26 12:20
  • by theraven