]> xenbits.xensource.com Git - unikraft/libs/libunwind.git/log
unikraft/libs/libunwind.git
23 months agopatches: Re-add `UnwindRegistersSave.S` RIP patch RELEASE-0.14.0
Andrei Tatar [Wed, 10 May 2023 12:48:22 +0000 (15:48 +0300)]
patches: Re-add `UnwindRegistersSave.S` RIP patch

The previous patch (removed in 7b56f9b17de72d0e237e4af2bf72635c48389f3c)
was erroneous in its implementation but its intent was valid: when
saving registers in unikraft libunwind should take the return address of
the previous stack frame as the IP of the throwing function.
This patch implements this functionality correctly.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #7

23 months agoUpdate to LLVM 14.0.6
Andrei Tatar [Fri, 5 May 2023 18:59:23 +0000 (20:59 +0200)]
Update to LLVM 14.0.6

Co-authored-by: Marco Schlumpp <marco@unikraft.io>
Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #7

23 months agopatches: Remove `UnwindRegistersSave.S` patch RELEASE-0.13.0 RELEASE-0.13.1
Eduard Vintilă [Sun, 12 Mar 2023 19:33:03 +0000 (21:33 +0200)]
patches: Remove `UnwindRegistersSave.S` patch

This commit drops the outdated `UnwindRegistersSave.S` patch, which
incorrectly saved the RIP from the frame that caused the exception.

GitHub-Fixes: #4
Signed-off-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Reviewed-by: Sergiu Moga <sergiu.moga@protonmail.com>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #5

2 years agoConfig.uk: Fix dependencies with libcxxabi RELEASE-0.11.0 RELEASE-0.12.0
Stefan Jumarea [Sat, 10 Sep 2022 16:31:29 +0000 (19:31 +0300)]
Config.uk: Fix dependencies with libcxxabi

`libcxxabi` and `libunwind` create circular dependencies.
Since libraries like `libcompiler-rt` and `cxx` depend on
`libunwind`, it's more intuitive to remove the `libcxxabi`
requirement of `libunwind` and make
`libunwind` select `libcxxabi`.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu.moga@protonmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #3

3 years agoCorrect license headers introduced by University Politehnica of Bucharest RELEASE-0.10.0 RELEASE-0.6 RELEASE-0.7.0 RELEASE-0.8.0 RELEASE-0.9.0
Simon Kuenzer [Tue, 13 Jul 2021 19:16:14 +0000 (21:16 +0200)]
Correct license headers introduced by University Politehnica of Bucharest

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
with the following commits:
 81a28bb - Initial port of Libunwind to Unikraft (Vlad-Andrei BĂDOIU (78692))

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author(s) or an authorized representative from
the author's affiliation consents to the change with a
`Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
5 years agoAdd suppress flag for cleaner build. RELEASE-0.4 RELEASE-0.5
Felipe Huici [Thu, 13 Feb 2020 20:48:37 +0000 (21:48 +0100)]
Add suppress flag for cleaner build.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
5 years agoRemove exportsyms.uk
Vlad-Andrei BĂDOIU (78692) [Tue, 14 Jan 2020 16:18:34 +0000 (16:18 +0000)]
Remove exportsyms.uk

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoAdd ARM64 support
Vlad-Andrei BĂDOIU (78692) [Tue, 14 Jan 2020 16:17:35 +0000 (16:17 +0000)]
Add ARM64 support

Remove x86_64-specific flags.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoMakefile.uk: Rename SUPPRESS_FLAGS to LIBUNWIND_SUPPRESS_FLAGS
Costin Lupu [Sat, 12 Oct 2019 12:21:53 +0000 (15:21 +0300)]
Makefile.uk: Rename SUPPRESS_FLAGS to LIBUNWIND_SUPPRESS_FLAGS

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoRemove linuxu check
Vlad-Andrei BĂDOIU (78692) [Fri, 30 Aug 2019 12:43:52 +0000 (12:43 +0000)]
Remove linuxu check

Libunwind now works with the staging branch of Unikraft and therefore
we can remove the check for linuxu.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoFix global include paths
Costin Lupu [Wed, 21 Aug 2019 12:27:21 +0000 (15:27 +0300)]
Fix global include paths

The headers from the src/ subdirectory should be included only for
this library's source code.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoFix some of the compiling warnings
Costin Lupu [Sun, 2 Jun 2019 13:27:45 +0000 (16:27 +0300)]
Fix some of the compiling warnings

This patch removes the "unused-parameter" warnings generated by the origin code
and the multiple definition warnings for _LIBUNWIND_BUILD_ZERO_COST_APIS macro.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
6 years agoInitial port of Libunwind to Unikraft
Vlad-Andrei BĂDOIU (78692) [Sun, 7 Apr 2019 11:07:35 +0000 (11:07 +0000)]
Initial port of Libunwind to Unikraft

This is our initial port of libunwind to Unikraft as an external
library. Libc, or an equivalent, is required for it to work.

The dependency list in the  Makefile should be:
...:$(UK_LIBS)/libunwind:$(UK_LIBS)/compiler-rt:
$(UK_LIBS)/libcxxabi:$(UK_LIBS)/libcxx:$(UK_LIBS)/newlib:...

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
6 years agoAdd .gitignore
Vlad-Andrei BĂDOIU (78692) [Sun, 7 Apr 2019 11:07:33 +0000 (11:07 +0000)]
Add .gitignore

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
6 years agoInitial commit (empty)
Vlad-Andrei Badoiu [Thu, 28 Mar 2019 17:33:57 +0000 (19:33 +0200)]
Initial commit (empty)