Displaying 20 results from an estimated 10000 matches similar to: "64-bit FLAC structure sizes and padding"
2011 May 30
2
64-bit FLAC structure sizes and padding
> Err, no it wouldn't. In fact this example you gave only confuses
> the matter.
? What do you mean?
typedef struct {
FLAC__uint32 length;
FLAC__byte *entry;
} FLAC__StreamMetadata_VorbisComment_Entry;
Can you confirm that the entry member is a pointer and not a byte array?
In that case:
What happens if the compiler expands the size of the structure twice (8=>16
bytes)?
I
2011 May 30
1
64-bit FLAC structure sizes and padding
Erik, thanks for the swift answer. Your right, I haven't seen any issues
yet. But it a thought stroke me when implementing edit capabilities of FLAC
vorbis comments. I've already implemented reading vorbis comments from FLAC
files in 64-bit and it works without any issues. This now leave me a bit
confused, since it should have issues(!).
Using the MS 64-bit compiler on Windows 7/2008R2
2017 Dec 08
3
Unresolved symbols in compiler-rt
Hello all,
I get unresolved external symbol __muloti4 when attempting to compile GNU m4
for Windows commandline.
See details in bug: https://bugs.llvm.org/show_bug.cgi?id=16404#c22
Looking into this, I see that some parts of compiler-rt are disabled for
Windows due to the __LP64__ define. The code seem not portable as is to the
MS compiler, but according to my tests the code compiles and links
2014 Feb 26
2
Introduction mail
Thanks for replying i was thinking of working on
PHP binding improvement project i thnk it fits my skills.
how should i start help..
On Wed, Feb 26, 2014 at 5:11 PM, Olly Betts <olly at survex.com> wrote:
> On Tue, Feb 25, 2014 at 08:12:40PM +0530, Avinandan Bhattacharjee wrote:
> > Hi my name is Abhinandan Bhattacharjee i am student of Computer Science
> > stream of netaji
2006 Nov 29
2
Quota's with Thunderbird
Hi,
Does anyone know how to get Thunderbird to correctly report the mailbox
quota's? I know Dovecot is correctly enforcing the quotas on the mailbox
when using Thunderbird, but Thunderbird reports that the "server does
not support quota's" when trying to view the usage? Is Thunderbird
expecting something different?
Viewing the mailbox through Squirelmail, the quota's are
[Bug 3561] New: Open SSH does not support 1-byte structure packing on non-windows systems for PKCS11
2023 Apr 10
6
[Bug 3561] New: Open SSH does not support 1-byte structure packing on non-windows systems for PKCS11
https://bugzilla.mindrot.org/show_bug.cgi?id=3561
Bug ID: 3561
Summary: Open SSH does not support 1-byte structure packing on
non-windows systems for PKCS11
Product: Portable OpenSSH
Version: 9.3p1
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: P5
2015 Mar 12
2
GXP 1405 and asterisk
Hi list, someone has successfully change different ringtone from
dialpan with asterisk with this model Granstream?
for example:
exten => 0,1,Playback(pls-wait-connect-call)
same=> n,SIPAddHeader(Alert-Info:;info=ring3)
same=> n,Dial(SIP/310&SIP/318,30,t)
can not get it to work
any idea o tips?
regardss
--
rickygm
http://gnuforever.homelinux.com
2009 Jun 16
2
[LLVMdev] ML types in LLVM
>On Sunday 14 June 2009 14:09:33 Wesley W. Terpstra wrote:
>> On Sun, Jun 14, 2009 at 10:50 AM, Florian Weimer<fw at deneb.enyo.de> wrote:
>> > Is this really a problem for MLton? I think you only get less precise
>> > alias analysis, and that's it.
>>
>> Correct. However, I want a fair comparison between LLVM performance
>> and the native x86
2009 Jun 04
0
[LLVMdev] Structure Alignment
Hi,
I have a problem using structs, when calling a function written in C from
a LLVM function or calling a LLVM function from a C one.
I noticed that the LLVM align double with 4 bytes and our run time routines
use 8, in MS Windows.
If a use #pragma pack(4) in my C programs, the routines run fine, but
I must ensure that all external call should use the #pragma directive.
If I change the llvm
2009 Jun 04
1
[LLVMdev] Structure Alignment
struct xfirstStru
{
int var1;
double var2;
int var3;
char *var4;
};
%FIRSTSTRU_PLUSPLUS_TOTVS. = type { i32, double, i32, i8* }
Hi,
I had not applied the layout at run time, only during the emission of the .bc.
Now it's running ok when I allocate the structure point at LLVM side, but, when I allocate the structure pointer in the C
2016 Dec 28
2
Structure Padding and GetElementPtr
Hi all,
I'm writing a pass to understand the memory access to C++ class members.
For each GetElementPtr instruction, I check the second index to the class
pointer, to figure out which member it is intended to access.
However, due to the structure padding, there are some fake members inserted
into the structure. For example, when GEP works on the 5th element of the
padded structure, it may in
2016 Dec 28
0
Structure Padding and GetElementPtr
On 12/28/2016 5:41 AM, Hong Hu via llvm-dev wrote:
> Hi all,
>
> I'm writing a pass to understand the memory access to C++ class
> members. For each GetElementPtr instruction, I check the second index
> to the class pointer, to figure out which member it is intended to
> access.
>
> However, due to the structure padding, there are some fake members
> inserted
2018 Mar 15
2
Vary an equation using values from a sequence
Hi All,
I have a vector of data on which I am operating. The equation with which I want to operate on the vector has a value k. I want to run the equation and output a new vector, each time replacing k with each value from the sequence I defined. I have thought about using for loops and such, but this seems like overkill. I am wondering if there is a simple solution that would allow me to
2016 Dec 29
0
Structure Padding and GetElementPtr
Here is an example:
I can define two classes: A and Apad:
class A {
bool b1, b2;
double d1;
int i1;
};
class Apad {
bool b1, b2;
bool pad1[6];
double d1;
int i1;
bool pad2[4];
};
A and Apad will have the same layout, from the LLVM IR level:
%class.A = type <{ i8, i8, [6 x i8], double, i32, [4 x i8] }>
%class.Apad = type { i8, i8, [6 x i8], double, i32, [4
2016 Dec 29
0
Structure Padding and GetElementPtr
Only Clang really knows the original structure layout. You can pass
'-Xclang -fdump-record-layouts', though, to see the layout during
compilation. The DICompositeType metadata produced when compiling with
debug info might contain enough information to describe the original layout.
On Wed, Dec 28, 2016 at 6:44 PM, Hong Hu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
2019 Jun 15
2
[libnbd PATCH] build: Fix OCaml build on Fedora 29
Once ocamlfind is installed, 'make' failed for me with:
ocamlfind ocamlc -g -annot -safe-string -warn-error CDEFLMPSUVYZX+52-3 -ccopt '-gdwarf' -package unix -c NBD.ml -o NBD.cmo
File "NBD.ml", line 1:
Error: Could not find the .cmi file for interface NBD.mli.
make[2]: *** [Makefile:823: NBD.cmo] Error 2
I'm not positive that this is the perfect fix, but it at least
2016 Dec 29
1
Structure Padding and GetElementPtr
Yes.
LLVM types != C++ types.
There is no mapping except that produced if you add debug info.
On Wed, Dec 28, 2016 at 6:51 PM, Hong Hu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Here is an example:
>
> I can define two classes: A and Apad:
>
> class A {
> bool b1, b2;
> double d1;
> int i1;
> };
>
> class Apad {
> bool b1, b2;
2016 Dec 29
1
Structure Padding and GetElementPtr
Yes, Reid. I have used these methods to figure out the layout.
Now my question is to build a map between the original layout and the new
layout. I show one example below. When LLVM IR access the 4th (starting
from 0th) member (i32) of the class A, the map will tell that in fact it is
accessing the originally 3rd member (i1). Any suggestion?
Regards,
Hu Hong
On 29 December 2016 at 10:50, Reid
2016 Dec 29
4
Structure Padding and GetElementPtr
Thanks, Eli.
Next question is how to get the layout of the original C++ class from LLVM
IR?
Regards,
Hu Hong
On 29 December 2016 at 01:57, Friedman, Eli <efriedma at codeaurora.org> wrote:
> On 12/28/2016 5:41 AM, Hong Hu via llvm-dev wrote:
>
> Hi all,
>
> I'm writing a pass to understand the memory access to C++ class members.
> For each GetElementPtr instruction,
2006 Aug 29
0
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
--- Tom Goetze <tgoetze@yahoo.com> wrote:
> doing "make check" on flac-1.1.2, I get a segmentation fault
>
> ././test_metaflac.sh: line 51: 17370 Segmentation fault flac
> $*
>
> when running this portion of the test/test_metaflac.sh script:
>
> (set -x && run_metaflac --preserve-modtime --add-padding=12345
> $flacfile)
>