Displaying 20 results from an estimated 200 matches similar to: "Expanding a virtual block device"
2010 Mar 17
3
Vector multiplication
Hi,
this may sound stupid (and it probably is), but I can't seem to find out how to multiply each element of a vector with each element of another vector where the result would be a matrix of dim[length(vectorOne),length(vectorTwo)] without using loops.
example: if
a -> c(1,2,3)
b -> c(4,5,6)
i'm looking for the operation that would yield:
[,1] [,2] [,3]
[1,] 4 8
2011 Sep 12
3
Error message for .csv file
I would be grateful if anyone could tell me what the error message:
Error in NN[i, 1:length(od)] <- od : subscript out of bounds
means for a large .csv file containing gps coordinates. I am using package
SPACECAP and have successfully run it with other .csv files but now keep
getting this error message. I can't see anything wrong with the file which
is simply three columns of data.
I am
2019 Feb 25
2
[IR][AsmPrinter][MCJIT]: ensure every x64 "CALL" to Jit function uses relative address
Hi Lang,
That would be great ! :)
For now I found a hack which consist of loading a "full of NOP" DLL, use my
own DllMemMgr which allocates JIT sections inside the DLL virtual space,
backup the memory inside some buffers, unload the DLL, copy the buffer
inside the DLL file, create the PDB, reload the DLL file which hopefully in
99% is reloaded at the same virtual address (this allow me
2019 Jan 17
4
[llvm-pdbutil] : merge not working properly
That’s a good question, by default when emitting the object file I choose
COFF but it embeds dwarf and not codeview in the end.. there probably is a
way to do it or at least it must be implemented if not yet..
Lets imagine I manage to do that.. when you say there is nothing to do, I
still must have a PDBFileBuilder to copy the codeview data inside the EXE
PDB right ? I cannot insert them easily in
2019 Jan 17
2
[llvm-pdbutil] : merge not working properly
Hi Zachary !
If there a way to easily create a new PDBFileBuilder from an existing
PDBFile or can/should I do the translation myself ?
I would like to start from a builder filled with the EXE PDB data and then
complete its DBI stream with the JIT module/symbols.
Thanks !
Le mer. 16 janv. 2019 à 23:41, Vivien Millet <vivien.millet at gmail.com> a
écrit :
> Thank you Zachary !
> I
2019 Jan 17
2
[llvm-pdbutil] : merge not working properly
Ok I see..
what do you mean by “making sure to de-duplicate records as necessary” ?
Le jeu. 17 janv. 2019 à 19:09, Zachary Turner <zturner at google.com> a écrit :
> It's possible in theory to support incremental updates to a PDB (the file
> format is designed specifically with that in mind). But this functionality
> was never added to the PDB library since lld doesn't
2019 Jan 17
2
[llvm-pdbutil] : merge not working properly
Ok I understand more what you meant. In fact I don’t care about the pdb
size, at least as a first step, so it won’t be a problem for me to have
duplicated symbols. Concerning TypeIndices my plan if possible is not to
generate a pdb for my jit and merge it, but instead directly extract debug
info from a DwarfContext just after llvm::object::ObjectFile is emitted by
the JIT engine and complete the
2010 Jun 28
2
Axes intercept
I have a plot where the values of the y axis go from a positive number to a negative number and I want the x axis to intercept at zero rather than at the bottom of the y axis, regardless of its value. Can anyone help me to do this?
Thanks in advance
Vivien
Vivien Kent MSc Oxon
PhD candidate
Evolutionary Anthropology Research Group
Department of Anthropology
Durham University
Dawson
2019 Jan 28
3
[llvm-pdbutil] : merge not working properly
Hello Zachary,
Sorry for replying so lately but It's been a week I'm thinking an working
hard on your "dll memory buffer" idea to see if it works and give you
feedbacks !
And it works pretty well until now :
I shared on the list what I did :
- create a .ASM file full of "int 3" instructions (to ensure that if we
execute over the boundaries we instantly break.
-
2019 Jan 23
2
[llvm-pdbutil] : merge not working properly
(Yes you are right this is my fault)
Considering the string table, it only seems to contains file relative
informations in every pdb I am using, and it looks correct but I will check
it.
I looked at the pdb.cpp code about checksums and tables, I copied some
stuff and got things wrong according to cvdump, then I simplified the
process of copying the table and it worked (in cvdump it finds the file
2019 Jan 16
2
[llvm-pdbutil] : merge not working properly
Sure. Along the way I’m happy to answer any specific questions you might
have too even if it’s for your downstream project
On Wed, Jan 16, 2019 at 1:38 PM Vivien Millet <vivien.millet at gmail.com>
wrote:
> I would be up to improve pdbutil but I doubt I have enough knowledge or
> time to provide the complete merge feature, it would still be a very
> specific kind of merge as you
2018 Mar 14
2
[PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
On Fri, Mar 9, 2018 at 7:00 PM Lang Hames <lhames at gmail.com> wrote:
> Hi Vivien,
>
> I'm not familiar with Windows development, but I believe you could dump
> the object file to disk then run LINK.EXE to produce the PDB.
> Alternatively, I think LLD can also produce PDB files (Rui -- is that
> right?), in which case you may be able to use that.
>
Yes, lld can
2019 Jan 16
2
[llvm-pdbutil] : merge not working properly
Well, that’s certainly possible, but improving llvm-pdbutil is another
possibility. Doing it directly in your jit compiler will probably save you
time though, since you won’t have to worry about writing tests and going
through code review
On Wed, Jan 16, 2019 at 1:01 PM Vivien Millet <vivien.millet at gmail.com>
wrote:
> Thanks for the tips !
> When you talk about doing all of this I
2020 Feb 29
4
[MCJIT] messy call stack debug on x64 code in VisualStudio
Hi,
I'm using IR and MCJIT to compile a script language. I debug it with on the
fly generated .pdb files. During debugging, almost each time I step into a
function, I loose information about calling function inside the visual
studio callstack view or I have a bunch of pure addresses in the callstack
in between the current function and the calling function, for example :
2019 Feb 09
2
[IR][AsmPrinter][MCJIT]: ensure every x64 "CALL" to Jit function uses relative address
Sorry I meant 0xE8, 0xFF was in my head because of disassembling and seeing
it in use, my bad.
Ok I didn't thought about PIC, that's a good idea ! ... I forgot it
existed at the wrong moment I guess ...
How can I modify the GOT then ?
Is there an api somewhere in the execution engine / MCJIT ?
Or is it somewhere else ?
Or I need to accept the idea of hacking stuff inside the LLVM code
2005 Nov 16
3
Combine related plots
Dear R users,
If I have to combine plots which have the same independent and dependent variables in one graph. Which command should I use? Any example? Can I use "panel"?
Your help will be deeply appreciated. Thanks!
-Vivien Chen-
[[alternative HTML version deleted]]
2019 Jul 12
2
[clang][AST] : extern "C" symbols not present or not visited when traversing TU decl
Hi,
I'm using clang ast for a while now to do meta compilation, and I just fell
into a problem
when trying to parse vulkan library which has extern "C" in it.
Every symbol inside extern "C" seem to be striped from the TU and ast.
I tried to #undef __cplusplus and this time I got the symbols into the AST.
I first supposed it was a problem with missing includes or else, but
2018 Mar 14
1
[PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
I'm sorry but I don't think I understand the question. But if you can't
produce a pdb using MSVC, it is hard to imagine that only lld can do,
unless MSVC linker has a bug.
On Wed, Mar 14, 2018 at 3:07 PM Vivien Millet <vivien.millet at gmail.com>
wrote:
> Hi, thanks for the answers, i tried to use LINK.EXE to produce a pdb, but
> unfortunately, it produces an empty pdb
2018 Mar 14
0
[PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
Hi, thanks for the answers, i tried to use LINK.EXE to produce a pdb, but
unfortunately, it produces an empty pdb (i have debug symbols in the dumped
.obj because I can see them with PEViewer).
It is probably because i have undefined symbols, which is logical because
i'm dumping machine code which points to running native code. I still dont
understand why LINK.EXE is not able to produce a
2018 Mar 08
2
[PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
Is it possible to write a .pdb file containing the debug info stored in a
COFFObjectFile once the NotifyObjectEmitted is triggered by the JIT
compiler ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180308/3c25cddd/attachment.html>