FreeBSD Bugzilla – Attachment 202554 Details for
Bug 236216
devel/valgrind: clang 8 crashes during build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Reuse existing offsetof macro for clang 8's sake
devel__valgrind-fix-clang8-offsetof-1.diff (text/plain), 1.12 KB, created by
Dimitry Andric
on 2019-03-04 18:01:23 UTC
(
hide
)
Description:
Reuse existing offsetof macro for clang 8's sake
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2019-03-04 18:01:23 UTC
Size:
1.12 KB
patch
obsolete
>Index: devel/valgrind-devel/files/patch-VEX_auxprogs_genoffsets.c >=================================================================== >--- devel/valgrind-devel/files/patch-VEX_auxprogs_genoffsets.c (nonexistent) >+++ devel/valgrind-devel/files/patch-VEX_auxprogs_genoffsets.c (working copy) >@@ -0,0 +1,11 @@ >+--- VEX/auxprogs/genoffsets.c 2016-01-13 19:20:20 UTC >++++ VEX/auxprogs/genoffsets.c >+@@ -59,7 +59,7 @@ >+ #define VG_STRINGIFZ(__str) #__str >+ #define VG_STRINGIFY(__str) VG_STRINGIFZ(__str) >+ >+-#define my_offsetof(__type,__field) (&((__type*)0)->__field) >++#define my_offsetof(__type,__field) offsetof(__type,__field) >+ >+ /* This forces gcc to evaluate the my_offsetof call at compile time, >+ and then emits it in the assembly, along with the nonsense string > >Property changes on: devel/valgrind-devel/files/patch-VEX_auxprogs_genoffsets.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236216
:
202548
|
202549
| 202554