search for: millet

Displaying 20 results from an estimated 39 matches for "millet".

Did you mean: miller
2019 Jan 17
2
[llvm-pdbutil] : merge not working properly
...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 will have some soon I think .. > I first need to explore the llvmpdb-util code more because I don't even > know where to start with the PDB api.. > > Le mer. 16 janv. 2019 à 22:51, Zachary Turner <zturn...
2019 Jan 17
2
[llvm-pdbutil] : merge not working properly
...hat they are correct after the > merge. Both types and symbols can refer to types, so you will need to do > this both for the types of the jitted code as well as the symbols of the > jitted code. > > Let me know if that makes sense. > > On Thu, Jan 17, 2019 at 10:24 AM Vivien Millet <vivien.millet at gmail.com> > wrote: > >> 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 p...
2019 Jan 17
2
[llvm-pdbutil] : merge not working properly
...ble, but most of LLVM's File > I/O abstractions are based around mmapping a file and writing to it, which > doesn't work when you don't know the file size in advance. So there would > be some interesting problems to solve here. > > On Thu, Jan 17, 2019 at 10:03 AM Vivien Millet <vivien.millet at gmail.com> > wrote: > >> 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 >&g...
2019 Jan 17
4
[llvm-pdbutil] : merge not working properly
...gure this in MCJIT, you won't even need to do anything, > you can just open the ObjectFile, look for the .debug$T and .debug$S > sections, iterate over each one and re-write their TypeIndices while > copying them to the output PDB file. > > On Thu, Jan 17, 2019 at 10:52 AM Vivien Millet <vivien.millet at gmail.com> > wrote: > >> 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 &gt...
2019 Jan 23
2
[llvm-pdbutil] : merge not working properly
...symbols could have meaningful > RVAs. And you might not even need to detach the debugger if you do things > this way, because you could just right click the jitted_code.dll module in > the modules window and choose Load Symbols. > > > > On Wed, Jan 23, 2019 at 11:13 AM Vivien Millet <vivien.millet at gmail.com> > wrote: > >> Yes this is it, I just make a copy from a pdb generated by link.exe (the >> microsoft one). >> Using llvm-pdbutil to compare is what I do, except I do it with "-all" >> And I get almost everything the same : sa...
2019 Jan 28
3
[llvm-pdbutil] : merge not working properly
...ss of your jit operations. > > Again, this is just an idea, no promises it will work, but unfortunately > that's kind of the best you can do when dealing with closed source things, > just make guesses and hope for the best. > > > > On Wed, Jan 23, 2019 at 12:42 PM Vivien Millet <vivien.millet at gmail.com> > wrote: > >> (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...
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 describe it. Anyway I could start trying to > do it in my jit compi...
2019 Feb 25
2
[IR][AsmPrinter][MCJIT]: ensure every x64 "CALL" to Jit function uses relative address
...review next week. In the new model > you will be able to register a callback to inspect the linkers data > structures: this could be used to identify the location of each jump stub > and jump-stub pointer. > > Kind Regards, > Lang. > > On Sat, Feb 9, 2019 at 12:05 PM Vivien Millet via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> 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 mom...
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 suppose you think about using > llvm/debuginfo/pdb, pick code here and there to generate the pdb in memory, > read the executable one and perform the merge directly in my jit com...
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 (i have debug symbols in the dumped > .obj because I can see them with PEViewer). > It is probably because i have undefined sy...
2018 Mar 14
2
[PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
...lso produce PDB files (Rui -- is that > right?), in which case you may be able to use that. > Yes, lld can produce PDB files. > Is the aim to be able to debug JIT'd code? Which debugger do you plan to > use? > > -- Lang. > > > On Thu, Mar 8, 2018 at 4:23 AM, Vivien Millet via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> 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 ? >> >> ___________________________________...
2019 Jan 15
2
[llvm-pdbutil] : merge not working properly
On Tue, Jan 15, 2019 at 2:50 AM Vivien Millet <vivien.millet at gmail.com> wrote: > Hello Zachary ! > Thanks for your time ! > So you are one of the happy guys who suffered from the lack of PDB format > information :) > Yes, that would be me :) > To be honest I'm really a beginner in the PDB stuff, I just read so...
2018 Mar 14
0
[PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
...), in which case you may be able to use that. >> > > Yes, lld can produce PDB files. > > >> Is the aim to be able to debug JIT'd code? Which debugger do you plan to >> use? >> >> -- Lang. >> >> >> On Thu, Mar 8, 2018 at 4:23 AM, Vivien Millet via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >>> 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 ? >>> >>> _______...
2019 Feb 09
2
[IR][AsmPrinter][MCJIT]: ensure every x64 "CALL" to Jit function uses relative address
...? 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 myself ? Le sam. 9 févr. 2019 à 20:38, Tim Northover <t.p.northover at gmail.com> a écrit : > On Sat, 9 Feb 2019 at 17:38, Vivien Millet via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Is it possible to tell LLVM somewhere that we prefer the asm printer to > use x64 relative CALL (0xFF) instead of absolute one? > > 0xff is always absolute, isn't it? And for JITs the relative variants > are prob...
2019 Jan 14
2
[llvm-pdbutil] : merge not working properly
...PDB or 1? I'm not sure if there's a good way to handle this. I guess it might help to know more about your intended use case. Then we might be able to make some simplifications to the problem that would allow us to decide on a reasonable solution. On Mon, Jan 14, 2019 at 5:39 AM Vivien Millet <vivien.millet at gmail.com> wrote: > Were you the man in charge of this feature ? If not, do you know who was > in charge (to see what could be the best way / what is missing to complete > this feature) ? > > Le lun. 24 déc. 2018 à 02:01, Zachary Turner <zturner at google....
2019 Feb 06
2
[DebugInfo][DIBuilder] Good way to pass arguments to createClassType/createMemberType
...A good rough rule of thumb here is "what would/does Clang do?" & it looks (to me, on a very cursory glance) like Clang mostly passes the unit's DIFile as the scope parameter for a member - so perhaps it's just ignored? not sure. > > On Tue, Feb 5, 2019 at 1:38 PM Vivien Millet via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > Hi, > I'm trying to use DIBuilder to build my debug info and export it into a PDB, but I don't understand the way some DIBuilder method work. > My question might have a straightforwar...
2018 Apr 01
2
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
...f the > processing should already be in place for that. If you are trying to do > something else, you would need to describe that so we understand what you > need. > > --paulr > > > > *From:* llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] *On Behalf Of *Vivien > Millet via llvm-dev > *Sent:* Saturday, March 31, 2018 7:33 AM > *To:* llvm-dev > *Subject:* [llvm-dev] [Dwarf] Register a local variable in DIBuilder and > locate it later with a DwarfContext > > > > Hi, > > First, considering I'm using an IRBuilder and a DIBuilder to bu...
2018 Dec 24
1
[llvm-pdbutil] : merge not working properly
...really productionized, so your guess about what the underlying problem is sounds correct to me. We could probably hide the subcommand so users don’t accidentally use it, or if someone wants to properly implement the missing features, that would be even better On Sat, Dec 22, 2018 at 10:48 AM Vivien Millet via llvm-dev < llvm-dev at lists.llvm.org> wrote: > When trying to merge 2 pdbs which have each their own DBI stream, I endup > with a pdb with an inconsistent number of stream and no DBI stream (or at > least not at fixed index 3, producing a corrupt error when dumping with -l). &g...
2018 Apr 02
0
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
...ompiling a small source file containing a local variable. You'll find it calls into DIBuilder (the debug info equivalent of IRBuilder) for constructing types and the location descriptions (see "insertDeclare"/insertDbgValueIntrinsic", etc.). On Sun, Apr 1, 2018 at 2:17 PM Vivien Millet via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi Paul, > How can i make this call to intrinsic from the c++ code ? > I'm not working with the IR language, but directly in C++ with > IRBuilder::CreateAlloca. > My goal is that one : > - Generate machine code with an...
2019 Feb 08
2
[DIBuilder][DebugInfo] Parameter visible in "Locals" but not in "Watch" under msvc
Hi, What could be wrong or missing in the debug info (using DIBuilder) so that a parameter is displayed well in the "Locals" window but "not found" when typing it in the "Watch" window (and not displayed in the Auto) ? Thanks ! -------------- next part -------------- An HTML attachment was scrubbed... URL: