History log of /freebsd-14.2/lib/libclang_rt/Makefile (Results 1 – 21 of 21)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0
# 35a61f4a 21-Mar-2024 Dimitry Andric <[email protected]>

Slightly reorganize libclang_rt Makefile again

Make a separate .elif section for MACHINE_ARCH==powerpc, and subdivide
the MACHINE_CPUARCH values under it. If at some point more sanitizer
libraries b

Slightly reorganize libclang_rt Makefile again

Make a separate .elif section for MACHINE_ARCH==powerpc, and subdivide
the MACHINE_CPUARCH values under it. If at some point more sanitizer
libraries become available for powerpc CPU architectures, they can be
added before the "nothing for other powerpc yet" case. Similar for the
MACHINE_ARCH==arm case.

PR: 262706
Fixes: e77a1bb27574
MFC after: 3 days

(cherry picked from commit 897a485c34464a44b768f13127d94137229eb83d)

show more ...


# 880f35eb 21-Mar-2024 Dimitry Andric <[email protected]>

Fix building of several libclang_rt libraries for powerpc64 and powerp64le

I reorganized the libclang_rt Makefile in e77a1bb27574 to make it more
readable and maintainable, but the check for 32-bit

Fix building of several libclang_rt libraries for powerpc64 and powerp64le

I reorganized the libclang_rt Makefile in e77a1bb27574 to make it more
readable and maintainable, but the check for 32-bit powerpc was wrong.
This caused almost no libclang_rt libraries to be built for powerpc64
and powerpc64le.

PR: 262706
Reported by: tuexen
Fixes: e77a1bb27574
MFC after: 3 days

(cherry picked from commit f0620ceeccf070a69352105c5dbc23cff499a732)

show more ...


Revision tags: release/13.3.0
# 8334205c 28-Dec-2023 Dimitry Andric <[email protected]>

Reorganize libclang_rt Makefile and make more lib/arch combos available

Upstream has made more clang runtime libraries available for more
architectures, so add them. To make this easier, split up su

Reorganize libclang_rt Makefile and make more lib/arch combos available

Upstream has made more clang runtime libraries available for more
architectures, so add them. To make this easier, split up subdir lists
into functional parts (asan, tsan, etc), and put each architecture into
its own .if block.

Effectively, this adds the following libraries for aarch64: asan, cfi,
fuzzer, msan, safestack, stats, tsan, ubsan, xray.

PR: 262706
MFC after: 3 days

(cherry picked from commit e77a1bb2757471ab3fed0750b76eeb15d0c7b10a)

show more ...


Revision tags: release/14.0.0
# d0b2dbfa 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


Revision tags: release/13.2.0, release/12.4.0
# f5024381 17-May-2022 Piotr Kubaj <[email protected]>

powerpc: enable supported sanitizers on powerpc64*

1. Merge LLVM's 315d792130258a9b7250494be8d002ebb427b08f, adding support
for FreeBSD/powerpc64*.
2. Add sanitizer list to lib/libclang_rt/Makefile,

powerpc: enable supported sanitizers on powerpc64*

1. Merge LLVM's 315d792130258a9b7250494be8d002ebb427b08f, adding support
for FreeBSD/powerpc64*.
2. Add sanitizer list to lib/libclang_rt/Makefile, taken from the list of
libraries that llvm-devel port builds.
3. powerpc64le supports the same sanitizers that powerpc64, but powerpc64le
also supports xray* sanitizers.
4. lib/libclang_rt/xray/Makefile hardcodes amd64-specific files, so that needs
to be conditionalized.
5. Sanitizers are not enabled for powerpc, because powerpc supports only
builtins and profile.

Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D35228
Relnotes: yes
MFC after: 3 days

show more ...


Revision tags: release/13.1.0
# c1e0431c 18-Apr-2022 Piotr Kubaj <[email protected]>

riscv: also enable includes, stats and stats_client in libclang_rt

Reviewed by: dim (earlier version)
Differential Revision: https://reviews.freebsd.org/D34735
MFC after: 3 days


# 9fc13142 14-Jan-2022 Piotr Kubaj <[email protected]>

riscv64: enable ASAN and UBSAN

Differential review: https://reviews.freebsd.org/D33875
Approved by: dim, imp


Revision tags: release/12.3.0, release/13.0.0, release/12.2.0
# cf084e9e 12-Oct-2020 Alex Richardson <[email protected]>

Enable SUBDIR_PARELLEL in lib/libclang_rt

I noticed that this part of the build was taking much longer than
expected. Turns out it's due to not running the subdirs in parallel.
Reduces `make all` in

Enable SUBDIR_PARELLEL in lib/libclang_rt

I noticed that this part of the build was taking much longer than
expected. Turns out it's due to not running the subdirs in parallel.
Reduces `make all` inside lib/libclang_rt time from 63s to 20s with -j32.

Reviewed By: dim
Differential Revision: https://reviews.freebsd.org/D26623

show more ...


Revision tags: release/11.4.0, release/12.1.0
# 4789686d 13-Sep-2019 Dimitry Andric <[email protected]>

Rearrange libclang_rt Makefile again, and attempt to simplify it.

It turns out that parts of the common sanitizer code still do not
compile for arm and aarch64, at least not on FreeBSD, so for now t

Rearrange libclang_rt Makefile again, and attempt to simplify it.

It turns out that parts of the common sanitizer code still do not
compile for arm and aarch64, at least not on FreeBSD, so for now those
are all limited to amd64, and sometimes i386.

show more ...


# cde67b40 05-Sep-2019 Dimitry Andric <[email protected]>

Add some missed continuation backslashes.


# f57be329 01-Sep-2019 Dimitry Andric <[email protected]>

Update libclang_rt:
* Add cfi, dd, fuzzer and xray
* Update arch support
* Update OptionalObsoleteFiles.inc


Revision tags: release/11.3.0
# 613d2812 22-Apr-2019 Enji Cooper <[email protected]>

Build libclang_rt/profile on all clang-supported architectures

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 archite

Build libclang_rt/profile on all clang-supported architectures

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
Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D20003

show more ...


Revision tags: release/12.0.0
# c6994e5b 04-Aug-2018 Dimitry Andric <[email protected]>

For now, msan is 64-bit only.


# a757dfac 03-Aug-2018 Dimitry Andric <[email protected]>

Update lib/libclang_rt for compiler-rt trunk r338150.


# 71cb2dfc 17-Jul-2018 Warner Losh <[email protected]>

Remove special cases for armeb in the build.

Differential Revision: https://reviews.freebsd.org/D16257


Revision tags: release/11.2.0
# bba3cdaf 25-Dec-2017 Dimitry Andric <[email protected]>

Only build tsan and tsan_cxx for amd64, as 32 bit is unsupported.


# fb142d88 23-Dec-2017 Dimitry Andric <[email protected]>

Next step in updating llvm/clang build glue: make libclang_rt build.


# 5252514f 07-Nov-2017 Enji Cooper <[email protected]>

Remove unnecessary src.opts.mk .include

MK_<FOO> isn't used in lib/libcompiler_rt/Makefile at all. Remove it to reduce
namespace pollution.

MFC after: 1 week


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0
# 85ab8f98 29-Nov-2015 Dimitry Andric <[email protected]>

Install the public sanitizer headers. These are useful for programs
that want to directly interface with sanitizer internals.


Revision tags: release/10.2.0
# 8028b78d 13-Jan-2015 Dimitry Andric <[email protected]>

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is a fast memory error detector. It can detect the following types
of bugs:

Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)

Typical slowdown introduced by AddressSanitizer is 2x.

UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.

PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.

Differential Revision: https://reviews.freebsd.org/D1505

show more ...


# 91d03e2e 08-Jan-2015 Dimitry Andric <[email protected]>

Now compiler-rt has been updated in r276851, bring in the various
sanitizer libraries that already work on FreeBSD:

* asan: Address Sanitizer
* ubsan: Undefined Behavior Sanitizer
* profile: Pr

Now compiler-rt has been updated in r276851, bring in the various
sanitizer libraries that already work on FreeBSD:

* asan: Address Sanitizer
* ubsan: Undefined Behavior Sanitizer
* profile: Profile Guided Optimization support

Please note that these libraries are *experimental* at this stage, so
the main Makefile is not yet connected to the build.

Since I didn't want to needlessly edit BSD.usr.dist, you will also have
to create the install directory /usr/lib/clang/3.5.0/lib/freebsd
manually for now.

show more ...