search for: field_offset

Displaying 20 results from an estimated 25 matches for "field_offset".

2017 Aug 14
4
RFC: Representing unions in TBAA
It's hard to say. What you've described sounds close to a neutral type system implemented in metadata. In particular, ". It also defines a set of language-neutral formal rules that LLVM codegen follows to determine whether a given pair of accesses are allowed to overlap by rules of the input language. " and "the base type followed by field descriptors" etc Despite the
2017 Aug 21
2
RFC: Resolving TBAA issues
...cess node is either a terminal access node that refers to > the corresponding access type: > !5 = !{ !1 } > !9 = !{ !3 } > > or a member node that refers to a structure/class or union field > descriptor and a subsequent access path node: > !7 = !{ !type_group, !field_id, !field_offset, !field_size } > !11 = !{ !5, !9, !7 } > > For a field node the first element refers to its type. The > purpose of other elements is to make the field node unique. Their > meaning is unspecified. Currently the other members for C and C++ > are the field name, bit offset and bit...
2012 Nov 09
0
Wine release 1.5.17
...ializer. d3dcompiler: Skip stray semicolons outside of functions. d3dcompiler: Put data type name of constants on the heap. Michael Stefaniuc (8): user32/test: Don't over-allocate memory for DDEDATA. ole32/tests: Fix a memleak on an error path (Smatch). usp10: Use FIELD_OFFSET to calculate the size of a struct with variable length array. user32: Avoid sizeof on structs with variable length array. localspl: Avoid using sizeof on structs with variable length array. gdi.exe16: Use FIELD_OFFSET to calculate the size of structs with variable length array....
2017 Aug 21
2
RFC: Resolving TBAA issues
...al access node that refers to >> the corresponding access type: >> !5 = !{ !1 } >> !9 = !{ !3 } >> >> or a member node that refers to a structure/class or union field >> descriptor and a subsequent access path node: >> !7 = !{ !type_group, !field_id, !field_offset, !field_size } >> !11 = !{ !5, !9, !7 } >> >> For a field node the first element refers to its type. The >> purpose of other elements is to make the field node unique. Their >> meaning is unspecified. Currently the other members for C and C++ >> are the field n...
2012 Nov 23
0
Wine release 1.5.18
...J?rg H?hle (1): mciavi: Fix player deadlock when starting to play. Maarten Lankhorst (1): dsound: Create a primary_pwfx separately from pwfx. Marcus Meissner (1): wininet: Move freeing netconn into create_netconn_socket (Coverity). Michael Stefaniuc (20): user.exe16: Use FIELD_OFFSET to calculate the size of a struct with variable length array. msiexec: Use FIELD_OFFSET to calculate the size of a struct with variable length array. msi: Don't over-allocate memory for a MSISELECTVIEW. oleaut32: Remove a superfluous TRUE:FALSE conditional expression. ms...
2012 Dec 21
0
Wine release 1.5.20
...tring at once in ExtTextOut. gdi32: Avoid duplicate computation of text extents in ExtTextOut. winspool.drv: Remove a todo that succeeds now. Alistair Leslie-Hughes (1): oleaut32: Don't output an error when the typelib cannot be found. Amine Khaldi (4): include: Define FIELD_OFFSET to the standard offsetof. include: Define CONTAINING_RECORD using the standard offsetof. include: Define WINE_RB_ENTRY_VALUE using the standard offsetof. include: Define LIST_ENTRY using the standard offsetof. Andrew Eikum (4): winealsa.drv: Be less strict about wValidBitsP...
2017 Aug 18
2
RFC: Resolving TBAA issues
...cess node is either a terminal access node that refers to > the corresponding access type: > !5 = !{ !1 } > !9 = !{ !3 } > > or a member node that refers to a structure/class or union field > descriptor and a subsequent access path node: > !7 = !{ !type_group, !field_id, !field_offset, !field_size } > !11 = !{ !5, !9, !7 } > > For a field node the first element refers to its type. The > purpose of other elements is to make the field node unique. Their > meaning is unspecified. Currently the other members for C and C++ > are the field name, bit offset and bit...
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
...t::getASTRecordLayout (this=0xbc8820, D=0xbed9c0) at /home/athirumurthi/git/lldb/tools/clang/lib/AST/RecordLayoutBuilder.cpp:2430 #9 0x00007ffff433d48f in lldb_private::ClangASTSource::layoutRecordType (this=0xcb6f00, record=0xd6a140, size=@0x7fffffff6388: 4, alignment=@0x7fffffff6390: 29, field_offsets=..., base_offsets=..., virtual_base_offsets=...) at /home/athirumurthi/git/lldb/tools/lldb/source/Expression/ClangASTSource.cpp:1456 #10 0x00007ffff436b0ff in lldb_private::ClangASTSource::ClangASTSourceProxy::layoutRecordType(clang::RecordDecl const*, unsigned long&, unsigned long&, llvm:...
2008 Nov 07
0
Wine release 1.1.8
...nedump: Remove casts of void pointers to other pointer types. winex11.drv: ImmLockIMCC() returns a void pointer; no need to cast that. cabinet: Do not cast NULL. riched20: Do not cast NULL. riched20: Use MAKELPARAM instead of "(LPARAM) MAKELONG". winedbg: Use FIELD_OFFSET instead of reimplementing it. user32: Do not cast NULL. dmusic: Do not cast NULL. dnsapi: Transform two for loops into while loops. d3dx8: Do not cast NULL. netapi32/tests: Do not cast NULL. ole32: Do not cast NULL. oleview: Do not cast NULL. setupapi...
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
...t::getASTRecordLayout (this=0xbc8820, D=0xbed9c0) at /home/athirumurthi/git/lldb/tools/clang/lib/AST/RecordLayoutBuilder.cpp:2430 #9 0x00007ffff433d48f in lldb_private::ClangASTSource::layoutRecordType (this=0xcb6f00, record=0xd6a140, size=@0x7fffffff6388: 4, alignment=@0x7fffffff6390: 29, field_offsets=..., base_offsets=..., virtual_base_offsets=...) at /home/athirumurthi/git/lldb/tools/lldb/source/Expression/ClangASTSource.cpp:1456 #10 0x00007ffff436b0ff in lldb_private::ClangASTSource::ClangASTSourceProxy::layoutRecordType(clang::RecordDecl const*, unsigned long&, unsigned long&, llvm:...
2007 Oct 26
0
Wine release 0.9.48
...a column is added. msi: Avoid casting const pointers to non-const. crypt32: Fix pointer casts in decode.c too. comctl32: Fix a discard const warning. kernel32/tests: Replace a couple of macros by a function to avoid compiler warnings. user32: Replace a pointer cast by FIELD_OFFSET. configure: Check for fontconfig in the X directory if not found in the standard places. server: Avoid refreshing areas of a window that have already been copied by the X server. server: Don't expose the parent window in areas that are now part of the child visible region....
2007 Oct 12
0
Wine release 0.9.47
...r files, and use it for devices too. imagehlp: Fixed UpdateDebugInfoFile definition. user32/tests: Replace GWL_WNDPROC by GWLP_WNDPROC. winenas.drv: Add workaround for INT64 type too. ntdll: Fix the HEAP_CreateSubHeap return value (spotted by Allan Tong). kernel32: Use FIELD_OFFSET instead of pointer cast. server: Use the file_pos_t type for file sizes and offsets in the protocol structures. winex11: Use ExtEscape to flush the GL drawable to the physdev. winex11: Don't store a physdev pointer in the GL context. msvcrt: Fix demangling of function po...
2014 May 16
0
Wine release 1.7.19
...izeAutoProxyDll and InternetDeinitializeAutoProxyDll. jsproxy: Implement InternetGetProxyInfo. winhttp: Reimplement WinHttpGetProxyForUrl on top of jsproxy. winhttp: Add support for retrieving the proxy automatic configuration URL on Mac OS X. Henri Verbeet (26): gdi32: Use FIELD_OFFSET to calculate the structure size in GetRegionData(). d2d1: Add the ID2D1Resource interface. d2d1: Add the ID2D1StrokeStyle interface. d2d1: Add the ID2D1TessellationSink interface. d2d1: Add the ID2D1Geometry interface. d2d1: Add the ID2D1RectangleGeometry interface....
2007 Nov 08
0
configure.ac libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_types.c libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h
...) { swfdec_as_date_set_invalid (date); set = FALSE; } break; + default: + g_assert_not_reached (); } if (set) { @@ -523,13 +530,8 @@ swfdec_as_date_get_field (SwfdecAsContext *cx, SwfdecAsObject *object, number = swfdec_as_date_get_brokentime_value (date, utc, field_offsets[field]); - switch (field) { - case FIELD_FULL_YEAR: - number += 1900; - break; - default: - break; - } + if (field == FIELD_FULL_YEAR) + number += 1900; SWFDEC_AS_VALUE_SET_INT (ret, number); } diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_in...
2009 Jan 09
2
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
...// If the FIELD_DECL has an annotate attribute on it, emit it. @@ -6130,7 +6168,7 @@ LValue TreeToLLVM::EmitLV_COMPONENT_REF( if (AnnotateAttr) AnnotateAttr = lookup_attribute("annotate", AnnotateAttr); } - } + } } else { Value *Offset = Emit(field_offset, 0); @@ -6150,6 +6188,7 @@ LValue TreeToLLVM::EmitLV_COMPONENT_REF( Offset = Builder.CreateAdd(Offset, ConstantInt::get(Offset->getType(), ByteOffset)); BitStart -= ByteOffset*8; + LVAlign = MinAlign(LVAlign, ByteOffset); } Value *Ptr = CastToType(Ins...
2007 Jun 29
0
Wine release 0.9.40
...occurs in start_binding. advapi32: Always set the requested fields of the security descriptor according to the info flags in GetNamedSecurityInfoW. mshtml: Implement HTMLElement_get_children. rpcrt4: Don't use add on the sizes of array elements to an open-ended structure; use FIELD_OFFSET with the array index instead. rpcrt4: Add support for ServerAllocSize parameters. rpcrt4: Add a STUBLESS_FREE phase for freeing the allocated memory in the server function. rpcrt4: Return a fault packet if the interface/object pair in a request packet aren't registered....
2013 Aug 30
0
Wine release 1.7.1
...ed missing FindClose in error case (Coverity). usp10: Added missing break (Coverity). Michael Stefaniuc (5): gdi32/tests: Use the standard way of allocating a struct with VLA on the stack. gdi32/tests: Use offsetof instead of sizeof on structs with VLA. gdi32/tests: Replace FIELD_OFFSET with offsetof for the sake of consistency. winedbg: Fix the return type of read_input(); it is never negative. windowscodecs: Silence a warning due to an API change in libpng 1.5. Nikolay Sivov (43): ntdll: Support optional 'versioned' attribute for windowClass sections....
2016 Feb 19
0
Wine release 1.9.4
...d_texture(). ddraw: Use wined3d_texture_get_pitch() in ddraw_surface_init(). wined3d: Get rid of the surface parameter to wined3d_device_parent_ops.surface_created(). wined3d: Ignore wined3d_sampler_desc.srgb_decode if WINED3D_SRGB_READ_WRITE_CONTROL is not set. wined3d: Use FIELD_OFFSET to calculate the size in surface_create_dib_section(). wined3d: Use a wined3d_string_buffer to dump the intermediate shader code. d3d8: Disable WINED3D_SRGB_READ_WRITE_CONTROL. ddraw: Disable WINED3D_SRGB_READ_WRITE_CONTROL. wined3d: Get rid of the unused _WINEDDOVERLAYFX st...
2012 Jun 22
0
Wine release 1.5.7
...Explicitly pass include type to the lookup callback function. d3dcompiler: Add some tests for 'system' type includes. Michael Stefaniuc (5): include: Drop outdated comment about COM interface implementations. include: Undef INTERFACE right after it is used. wer: Use FIELD_OFFSET to calculate the size of a struct with variable length array. wined3d: Avoid sizeof on structs with variable length arrays. avifil32: Drop the 'register' storage-class specifier. Nikolay Sivov (5): comctl32/listview: Properly update selection mark on item state change....
2007 Jun 01
0
Wine release 0.9.38
...ix a couple of overflowing heap allocations revealed by the previous change. server: Don't allow a waitable timer to be set to expire in the past. winebuild: Set the IMAGE_FILE_EXECUTABLE_IMAGE flag for all modules. msxml3: Fixed compilation without libxml. schannel: Use FIELD_OFFSET instead of offsetof. wininet: Fixed compilation without SSL. libwine: Add support for glyph chars mapping in OEM codepage tables. kernel32: Remove the fixme about MB_USEGLYPHCHARS. dmusic: Fix license headers that mistakenly use GPL instead of LGPL. winedos: Merge a nu...