Apocrypha

bear

A tool that generates a compilation database for clang tooling

Bear is a tool that generates a compilation database for clang tooling. The concept behind Bear is: to execute the original build command and intercept the exec calls issued by the build tool. To achieve that, Bear uses the LD_PRELOAD or DYLD_INSERT_LIBRARIES mechanisms provided by the dynamic linker. Bear has two components: the library and the binary. The library redefines the exec methods to be used by all child processes. The executable enables the use of the library for child processes and writes the output file.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 4.1.5 2 15 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvloong Committed
4.1.5 gentoo amd64 testing arm64 testing x86 testing ppc64 testing riscv testing loong testing view · download · history ↗
3.1.6 gentoo amd64 stable arm64 testing x86 stable ppc64 testing riscv testing loong testing view · download · history ↗

Use flags of 4.1.5

  • debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces