Displaying 11 results from an estimated 11 matches similar to: "[LLVMdev] safe to speculatively execute load of malloc?"
2010 Jul 07
3
Message: "err:psdrv:PSDRV_PPDGetNextTuple Line too long."
Hello!
When my application opens a URL in Firefox with more than 257 characters, the URL is truncated and the message below.
"Err: psdrv: PSDRV_PPDGetNextTuple Line too long."
I noted that this limitation may be due to the following code. See line 00363.
Code:
00354 /*********************************************************************
00355 *
00356 *
2009 Sep 22
1
[LLVMdev] Verifier should not make any assumptions about calls to "malloc"
Hi Victor,
> What does the Ada front-end declare malloc as?
I don't really want to tell you because a correct solution should work
no matter what malloc is defined to be :) What I mean by "work" is that
if malloc has the standard prototype then you perform transforms on it,
and otherwise you should probably just ignore it.
That said, Ada outputs malloc as: i32 @malloc(i32)
2009 Sep 22
0
[LLVMdev] Verifier should not make any assumptions about calls to "malloc"
Duncan,
Thanks for brining the Ada issue to my attention.
On Sep 22, 2009, at 6:11 AM, Duncan Sands wrote:
> Hi Victor, this code from the verifier broke the Ada front-end build:
>
> const Module* M = CI.getParent()->getParent()->getParent();
> Constant *MallocFunc = M->getFunction("malloc");
>
> if (CI.getOperand(0) == MallocFunc) {
> const
2009 Sep 22
5
[LLVMdev] Verifier should not make any assumptions about calls to "malloc"
Hi Victor, this code from the verifier broke the Ada front-end build:
const Module* M = CI.getParent()->getParent()->getParent();
Constant *MallocFunc = M->getFunction("malloc");
if (CI.getOperand(0) == MallocFunc) {
const PointerType *PTy =
PointerType::getUnqual(Type::getInt8Ty(CI.getParent()->getContext()));
Assert1(CI.getType() == PTy, "Malloc
2010 Dec 15
0
[LLVMdev] The best way to cope with AllocationInst type in old code?
Hamid 2C wrote:
> Hi all,
>
> I am working on some old code which was compiled against llvm-2.5.
> Anyway, in some places I, AllocationInst is used (e.g. to ensure the
> instruction's type). Even in your current documentation
> (http://llvm.org/docs/ProgrammersManual.html), I found an example that
> uses this instruction.
> If I got it correctly, this istruction
2010 Dec 15
2
[LLVMdev] The best way to cope with AllocationInst type in old code?
Hi all,
I am working on some old code which was compiled against llvm-2.5.
Anyway, in some places I, AllocationInst is used (e.g. to ensure the
instruction's type). Even in your current documentation
(http://llvm.org/docs/ProgrammersManual.html), I found an example that
uses this instruction.
If I got it correctly, this istruction (AllocationInst) has been
removed from llvm instruction set.
2004 Jul 28
3
Ipfw config
If someone has some free time, can you go over my ipfw config. See if I
have any problems, or things i should add. Im not an ipfw expert or
anything. Here is the config.
add 100 allow all from any to any via lo0
add 110 deny log all from any to 127.0.0.0/8
add 120 deny log ip from 127.0.0.0/8 to any
add 00200 check-state
add 00250 deny all from any to any frag in via bge0
add 00260 deny
2009 Sep 22
0
[LLVMdev] Verifier should not make any assumptions about calls to "malloc"
On Sep 22, 2009, at 6:11 AM, Duncan Sands wrote:
> Hi Victor, this code from the verifier broke the Ada front-end build:
>
> const Module* M = CI.getParent()->getParent()->getParent();
> Constant *MallocFunc = M->getFunction("malloc");
>
> if (CI.getOperand(0) == MallocFunc) {
> const PointerType *PTy =
>
>
2010 Dec 15
1
[LLVMdev] The best way to cope with AllocationInst type in old code?
On 12/15/10 2:37 AM, Nick Lewycky wrote:
> Hamid 2C wrote:
>> Hi all,
>>
>> I am working on some old code which was compiled against llvm-2.5.
>> Anyway, in some places I, AllocationInst is used (e.g. to ensure the
>> instruction's type). Even in your current documentation
>> (http://llvm.org/docs/ProgrammersManual.html), I found an example that
>>
2009 Sep 22
1
[LLVMdev] Verifier should not make any assumptions about calls to "malloc"
On Sep 22, 2009, at 11:23 AM, Victor Hernandez wrote:
> On Sep 22, 2009, at 6:11 AM, Duncan Sands wrote:
>
>> Hi Victor, this code from the verifier broke the Ada front-end build:
>>
>> const Module* M = CI.getParent()->getParent()->getParent();
>> Constant *MallocFunc = M->getFunction("malloc");
>>
>> if (CI.getOperand(0) ==
2015 Oct 16
2
[llvm] r250383 - Speculatively unbreak Windows build
Ah, I see this was addressed in 250386 - though might be nice to address
across the whole project rather than this particular inclusion. Though
maybe we've few enough inclusions that it's not too bad.
On Fri, Oct 16, 2015 at 2:51 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Thu, Oct 15, 2015 at 2:17 AM, David Majnemer via llvm-commits <
> llvm-commits at