forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request JuliaLang#14774 from JuliaLang/yyc/libunwind-arm
Add patches for libunwind on arm and aarch64
- Loading branch information
Showing
3 changed files
with
55,965 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
deps/libunwind-001-invalid-dwarf-opcodes-can-cause-references-beyond.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/include/dwarf_i.h | ||
+++ b/include/dwarf_i.h | ||
@@ -20,7 +20,7 @@ | ||
extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH]; | ||
/* REG is evaluated multiple times; it better be side-effects free! */ | ||
# define dwarf_to_unw_regnum(reg) \ | ||
- (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) | ||
+ (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) | ||
#endif | ||
|
||
#ifdef UNW_LOCAL_ONLY |
Oops, something went wrong.