Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149968165
D1967.id3981.vs3978.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
577 B
Referenced Files
None
Subscribers
None
D1967.id3981.vs3978.diff
View Options
Index: contrib/libcxxrt/dwarf_eh.h
===================================================================
--- contrib/libcxxrt/dwarf_eh.h
+++ contrib/libcxxrt/dwarf_eh.h
@@ -224,9 +224,13 @@
// Read fixed-length types
#define READ(dwarf, type) \
case dwarf:\
- v = static_cast<uint64_t>(*reinterpret_cast<type*>(*data));\
+ {\
+ type t;\
+ memcpy(&t, *data, sizeof t);\
+ v = static_cast<uint64_t>(t);\
*data += sizeof(type);\
- break;
+ break;\
+ }
READ(DW_EH_PE_udata2, uint16_t)
READ(DW_EH_PE_udata4, uint32_t)
READ(DW_EH_PE_udata8, uint64_t)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 29, 11:33 AM (12 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30484422
Default Alt Text
D1967.id3981.vs3978.diff (577 B)
Attached To
Mode
D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment
Attached
Detach File
Event Timeline
Log In to Comment