Age | Commit message (Collapse) | Author |
|
|
|
Tested by deraadt@
|
|
ok deraadt@
|
|
Reported and suggested by jsing@
|
|
|
|
so instead of shipping the file internally, let's generate it and
install it with the rest of the headers; unbreaks xenocara build
|
|
|
|
|
|
ok naddy@, sthen@
|
|
differently on files that are hardlinked and this is tripping up ports.
requested by naddy@
|
|
least amd64. Fix this by switching to the llvm strip on architectures
that use ld.lld.
ok deraadt@
|
|
|
|
commit aa173573198e024b065c5f6523ce26bb865781b7 from upstream
ok kettenis@
|
|
Since llvm-profdata is in base as well, we can now produce reports from
coverage data without having to install the devel/llvm port.
OK gnezdo@
|
|
Apparently favored by deraadt@, pointed out by patrick@, ok patrick@
|
|
Shaves off a significant amount of time (eg on riscv64) in base builds.
If you want to build gnu/usr.bin/clang from source you'll need
bsd.own.mk rev 1.213 installed.
ok miod@ patrick@
|
|
source
Pointed out by sthen@
While make build indeed takes care of running make install in share/mk,
running make obj first would error out when encountering the unknown
BUILD_LLDB variable. I can wait a few days before committing this again.
|
|
Apparently favored by deraadt@, pointed out by patrick@, ok patrick@
|
|
Shaves off a significant amount of time (eg on riscv64) in base builds.
Note that you'll need bsd.own.mk rev 1.213 (which make build should take
care of).
ok miod@ patrick@
|
|
ok fcambus@, sthen@
|
|
Useful on architectures not actually supported by our ancient binutils
(arm64, powerpc64, riscv64), or on architectures incompletely supported
(eg recent features on amd64).
ok kettenis@ sthen@
|
|
Drop NOPIE_FLAGS = -fPIE and change CFLAGS on powerpc to be the same
as on other arches.
ok deraadt@ kettenis@
|
|
|
|
other
|
|
Sync our hardcoded config with what cmake detects in ports/devel/llvm.
Brought up privately by cheloha@, then by Andrei on tech@, input and ok
gnezdo@
|
|
|
|
binary to /usr/bin and do the same with the manpage as well and make sure
that we only build llvm-ar on architectures where it is actually enabled
discussed with deraadt@
|
|
and libLLVMLibDriver;
switch LLD_ARCHs to llvm-ar(1) by skipping the installation of binutils' ar(1)
and linking llvm-ar(1) to ar(1)
tested on amd64, i386, arm64 and mips64
ok patrick@, kettenis@
|
|
Add powerpc to LLD_ARCH. Remove -Wl,-relax flag; ld.bfd needed it,
but ld.lld can't take this flag.
To avoid linker errors on macppc, you need a snapshot where
/usr/bin/ld is LLD.
ok kettenis@ deraadt@
|
|
tools, and it also provides command line options and thus pollutes the name
space. This fixes duplicate command line options in llvm-objdump.
Discussed with jsg@
|
|
ok kettenis@ sthen@
|
|
This 'requirement' was due to a bug in dtors which has been corrected.
reminded by jsg@
|
|
libc++abi: Pure virtual function called!
By statically linking clang (and *-tblgen) this problem is worked around
at least for now.
|
|
cd /usr/src/gnu/llvm/llvm/docs
gmake -f Makefile.sphinx man
cd /usr/src/gnu/llvm/clang/docs
gmake -f Makefile.sphinx man
cmake -DLLVM_ENABLE_SPHINX=ON -DLLDB_INCLUDE_TESTS=OFF /usr/src/gnu/llvm/lldb/
make docs-lldb-man
|
|
|
|
|
|
With several fixes from review integrated.
ok patrick@
|
|
Heavy lifting by mortimer@, thank you so much!
|
|
Instead of using #if defined(__arch__) to include / exclude the entire contents
of the NativeRegisterContext implementations, use a single NativeRegisterContextOpenBSD_arch
which includes the right arch specific register context, and provides a dummy implementation
for unsupported architectures.
This allows building lldb on architectures which do not have a register context implementation
so it can be used as a remote client.
ok patrick@
|
|
|
|
Discussed with deraadt@
|
|
This adapts the -mfix-loongson2f-btb workaround from as(1) to
LLVM/clang. Because LLVM emits machine code directly without using
assembly as intermediary form, the workaround has to be applied
in the compiler backend in addition to the integrated assembler.
Discussed with miod@
OK mortimer@
|
|
From Brad
ok mortimer@
|
|
Fixes build on powerpc
|
|
ok deraadt@ kettenis@
|
|
|
|
ok hackroom@
tested by plenty
|
|
ok deraadt@
|
|
Disable PIC/PIE for powerpc64 for now.
|
|
OpenBSD macppc builds these libs with clang. Their ABI is changing
because of clang -msvr4-struct-return
|