search for: pdbfilebuild

Displaying 7 results from an estimated 7 matches for "pdbfilebuild".

Did you mean: pdbfilebuilder
2019 Jan 17
4
[llvm-pdbutil] : merge not working properly
...at’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 the EXE PDB with another way ? Le jeu. 17 janv. 2019 à 20:01, Zachary Turner <zturner at google.com> a écrit : > Well, is it possible to just hook up the CodeView debug info generator to > MCJIT? If...
2019 Jan 23
2
[llvm-pdbutil] : merge not working properly
...gt; >>> On Mon, Jan 21, 2019 at 10:03 AM Vivien Millet <vivien.millet at gmail.com> >>> wrote: >>> >>>> For now I'm not merging my JIT CodeView section, I only try to build a >>>> pure copy of an existing PDB using the XxxBuilder classes (PDBFileBuilder & >>>> Co / reading a PDBFile) and check if visual studio wants to eat it.. >>>> For Publics and Globals, what I do is naive, I use the GsiStreamBuilder >>>> and prey :) >>>> >>>> >>>> >>>> if (File.hasPDBGl...
2019 Jan 28
3
[llvm-pdbutil] : merge not working properly
...rogram which does JIT compilation - get the start RVA of the .text section (which is always 0x1000 in my case) - Load the .DLL and use the ModuleAddress+RVA as a memory buffer in a custom DllMemMgr I give to MCJIT - On NotifyObjectEmitted replace the dll pdb by a custom one I build myself with your PDBFileBuilder - On finalizing memory, reload first the dll to trigger visual studio pdb reloading (not working don't know why yet), ensure it goes into the same virtual space, protect memory using VirtualProtect. - Place a breakpoint in my JIT file, it displays "loaded", execute JIT, it breaks .....
2019 Jan 17
2
[llvm-pdbutil] : merge not working properly
...em 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 EXE PDB I had rebuilt with PDBFileBuilder. Does it sounds a good bet to you ? If I succeed doing that I think that could be a good extension to the debugging possibilities of MCJit if not being an extension to pdbutil. Le jeu. 17 janv. 2019 à 19:37, Zachary Turner <zturner at google.com> a écrit : > Well, for example the TPI s...
2019 Jan 17
2
[llvm-pdbutil] : merge not working properly
...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 >> then complete its DBI stream with the JIT module/symbols. >> >> Thanks ! >> >> >> Le mer. 16 janv. 20...
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...
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