[Git][ghc/ghc][wip/angerman/sized] 2 commits: Bump submodules
Moritz Angermann
gitlab at gitlab.haskell.org
Tue Nov 3 03:24:58 UTC 2020
Moritz Angermann pushed to branch wip/angerman/sized at Glasgow Haskell Compiler / GHC
Commits:
a5bb848b by Moritz Angermann at 2020-11-03T03:24:07+00:00
Bump submodules
- - - - -
87db2edf by Moritz Angermann at 2020-11-03T03:24:22+00:00
Make Libdw.c -Werror safe
- - - - -
3 changed files:
- libraries/binary
- libraries/bytestring
- rts/Libdw.c
Changes:
=====================================
libraries/binary
=====================================
@@ -1 +1 @@
-Subproject commit 6462b2f024d18fa6f47da180825bcd765a440f6c
+Subproject commit 79a8ada34cda3339043f315235e702144116f6e7
=====================================
libraries/bytestring
=====================================
@@ -1 +1 @@
-Subproject commit fe4e14486e9b7125e41af5ad344b031685bdeaf8
+Subproject commit 8b5d8d0da24aefdc4d950174bf396b32335d7e0f
=====================================
rts/Libdw.c
=====================================
@@ -133,8 +133,14 @@ int libdwLookupLocation(LibdwSession *session, Location *frame,
Dwfl_Module *mod = dwfl_addrmodule(session->dwfl, addr);
if (mod == NULL)
return 1;
+ // avoid unaligned pointer value
+ // Using &frame->object_file as argument to dwfl_module_info leads to
+ //
+ // error: taking address of packed member of ‘struct Location_’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
+ //
+ void *object_file = &frame->object_file;
dwfl_module_info(mod, NULL, NULL, NULL, NULL, NULL,
- &frame->object_file, NULL);
+ object_file, NULL);
// Find function name
frame->function = dwfl_module_addrname(mod, addr);
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/0c51530e2b951a97d2fb4fd93daa7af94e9b3604...87db2edf15b51c0ca3454e6dd93b40bb70edf14e
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/0c51530e2b951a97d2fb4fd93daa7af94e9b3604...87db2edf15b51c0ca3454e6dd93b40bb70edf14e
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201102/93ca2245/attachment.html>
More information about the ghc-commits
mailing list