Displaying 20 results from an estimated 1100 matches similar to: "Question about an error we're now starting to get on LLVM 3.8.0rc2since"
2014 Dec 13
2
[LLVMdev] Correct way to access Function ArgumentList?
Hey All,
I’m working with Mac OS X 10.10, and everything seems generally fine but when I started working on a FunctionPass I get the following:
error: call to deleted constructor of
'Function::ArgumentListType' (aka 'iplist<llvm::Argument>')
Function::ArgumentListType argList = f.getArgumentList();
Any pointers as to the correct way access the Arguments of a
2009 Nov 11
4
[LLVMdev] Adding function call in LLVM IR using IRBuilder causes assertion error
Hi,
I'm trying to add function calls in the LLVM IR using the IRBuilder
class. I've read both tutorials about functions but I still get
assertion errors. I allocate memory for all function arguments and pass
them as explained in the tutorial.
My code is (this function is supposed to add a call to f in bb at pos):
void addCallSite(Function *f, BasicBlock *bb, BasicBlock::iterator pos)
2009 Nov 11
0
[LLVMdev] Adding function call in LLVM IR using IRBuilder causes assertion error
CreateAlloca(Type) returns an object of type Type*, the memory that
can hold an object of type Type. You probably don't want to be
creating allocas just before calling the function since 1) if that
call winds up in a loop they'll grow your stack frame without bound,
and 2) the memory they point to is initially uninitialized. Where did
the tutorial tell you to do that?
In general, when I
2016 Mar 01
2
Insert CallInst within a function passing same parameters of the calling function.
Hi,
supposing I have a function “foo” like the following:
int foo(int a, int b) {
...
...
}
I want to insert int the LLVM IR a call instructions to a function “bar” that requires the same parameters of foo.
So my function foo will become:
int foo(int a, int b) {
bar(a,b);
…
...
}
I am using the following code:
bool ThreadSanitizer::runOnFunction(Function &F) {
2012 Oct 15
3
[LLVMdev] Dragonegg build broken?
Looks like recent changes to Attributes.h broke the dragonegg build. I
am building with latest clang and llvm trunk.
clang version 3.2 (trunk 165928) (llvm/trunk 165925)
Target: x86_64-unknown-linux-gnu
Thread model: posix
>>>>>
Compiling TypeConversion.cpp
/local/home/anitha/dragonegg/src/TypeConversion.cpp: In function
âllvm::FunctionType* ConvertArgListToFnType(tree,
2016 Feb 10
2
Question about an error we're now starting to get on LLVM 3.8.0rc2since
> From: mehdi.amini at apple.com [mailto:mehdi.amini at apple.com]
> Sent: Wednesday, February 10, 2016 1:51 PM
> To: Duncan P. N. Exon Smith
> Subject: Re: [llvm-dev] Question about an error we're now starting to get on LLVM 3.8.0rc2since
>>
>> You're looking for r252380. Relevant excerpt:
>>
>> Note: if you have out-of-tree code, it should be
2016 Feb 10
3
Question about an error we're now starting to get on LLVM 3.8.0rc2since
> On 2016-Feb-10, at 11:34, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>>
>> On Feb 10, 2016, at 11:32 AM, Harris, Kevin <Kevin.Harris at unisys.com> wrote:
>>
>>> From: mehdi.amini at apple.com [mailto:mehdi.amini at apple.com]
>>> Sent: Wednesday, February 10, 2016 1:51 PM
>>> To: Duncan P. N. Exon Smith
>>>
2005 Mar 08
1
[LLVMdev] Making Constants from GenericValues
I'm trying to turn some GenericValues into Constants in the interpreter
using code like this, in a switch statement:
case Type::IntTyID:
SI = ConstantSInt::get(FB->getType(), ArgVals[i].IntVal);
params.push_back(UI);
UI->dump(); //for testing
break;
FB is a Function::ArgumentListType::iterator
ArgVals is a std::vector<GenericValue>
the switch
2009 Nov 11
0
[LLVMdev] Adding function call in LLVM IR using IRBuilder causes assertion error
[Please use Reply to All for sending your message to the ml too]
Marc Claesen <claesenm at gmail.com> writes:
>> Another issue is that I don't see in your code the _values_ you want to
>> pass to the called function. Apparently you already have the function
>> declaration (Function *f) but you are creating a call to that function,
>> and you need the actual
2023 May 03
1
[PATCH v5 virtio 04/11] pds_vdpa: move enum from common to adminq header
The pds_core_logical_qtype enum and IFNAMSIZ are not needed
in the common PDS header, only needed when working with the
adminq, so move them to the adminq header.
Note: This patch might conflict with pds_vfio patches that are
in review, depending on which patchset gets pulled first.
Signed-off-by: Shannon Nelson <shannon.nelson at amd.com>
---
include/linux/pds/pds_adminq.h | 21
2023 Jul 06
2
[PATCH virtio] pds_vdpa: protect Makefile from unconfigured debugfs
debugfs.h protects itself from an undefined DEBUG_FS, so it is
not necessary to check it in the driver code or the Makefile.
The driver code had been updated for this, but the Makefile had
missed the update.
Link: https://lore.kernel.org/linux-next/fec68c3c-8249-7af4-5390-0495386a76f9 at infradead.org/
Fixes: a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC")
2023 Jun 30
4
[PATCH virtio 0/4] pds_vdpa: mac, reset, and irq updates
v2 for internal review
- heavily reworked NET_F_MAC patch, matches recent PR-68875
- reordered to put "clean and reset vqs" before "alloc-irq"
to make them slightly simpler patches
- other minor cleanups for simpler patches
These are some fixes for device providing a MAC address, for allocating
irq resources later to support vhost use, and for properly cleaning
vq info
2023 Jun 30
4
[PATCH virtio 0/4] pds_vdpa: mac, reset, and irq updates
v2 for internal review
- heavily reworked NET_F_MAC patch, matches recent PR-68875
- reordered to put "clean and reset vqs" before "alloc-irq"
to make them slightly simpler patches
- other minor cleanups for simpler patches
These are some fixes for device providing a MAC address, for allocating
irq resources later to support vhost use, and for properly cleaning
vq info
2023 Jul 07
1
[PATCH virtio 1/4] pds_vdpa: reset to vdpa specified mac
On 7/7/23 12:33 AM, Jason Wang wrote:
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>
>
> On Fri, Jun 30, 2023 at 8:36?AM Shannon Nelson <shannon.nelson at amd.com> wrote:
>>
>> From: Allen Hubbe <allen.hubbe at amd.com>
>>
>> When the vdpa device is reset,
2012 Aug 04
1
Getting unknown error trying to plot spatial data
Hi there! I'm following an awesome guide to working with spatial data
(http://www.frankdavenport.com/blog/2012/6/19/notes-from-a-recent-spatial-r-class-i-gave.html)
and am running into an error that I can't figure out how to fix.
Disclaimer: I am very much an R n00b
Here is the r script I am running:
https://dl.dropbox.com/u/28231177/This%20Should%20Work.R
data:
2016 Sep 04
2
LLVM 3.8.0 - Adding new instruction to a basic block
Hello,
I'm trying to add a new instruction after a given instruction in a basic
block.
Until LLVM 3.7, I was using the following code:
BB->getInstList().insertAfter(I, new_inst);
[where both I and new_inst are Instruction*]
In LLVM 3.8 however, the SymbolTableList was created as a wrapper over
iplist.
Could anyone please tell me how I can do the same type of insertion in LLVM
3.8?
2004 Nov 25
1
A little help with nss_ldap - User xxx in passdb, but getpwnam() fails!
I keep getting the following errors when I try to log on to my domain or
access a share (some how I have no clue I was able to get one computer
to access the samba domain). It is a standalone PDC, ldap on the same
computer.
This problem has been killing me for about a week, any help would be
greatly appreciated
I'm running samba 3.0.9 on redhat 9
stock ldap server that comes with redhat
2002 Jun 26
4
Can't create profile directory
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wim Mevissen.vcf
Type: text/x-vcard
Size: 513 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20020626/98113284/WimMevissen.vcf
2004 Nov 23
1
Samba 3.0.9 not authenticating completely
I'm relatively new to samba I have been experimenting for a week or so,
though I have setup several 2000/NT domains and have been using Linux
for a couple of years.
I'm using Red Hat 9, updated completely via apt.
Samba 3.0.9 installed from apt and i am using the stock ldap server that
installed with red hat as my back end.
I followed the samba.idealx.org guide to get to where I am
2017 Feb 12
5
Samba4 Problem Rename
I've got a Problem using samba4 as PDS and Win7 Client.
I'm not able to rename a file in Windows Explorer. I can connect shares.
I can create, open and write files but I cannot rename or move them. If
i try to i get a message "file xyz too big for target file system".
I googled a lot but I do not find any helpfull thread with this issue.
Is there anybody who can help me with