search for: debugh

Displaying 20 results from an estimated 20 matches for "debugh".

Did you mean: debug
2018 Jan 28
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
Look for this code in lld/coff/pdb.cpp if (Config->DebugGHashes) { ArrayRef<GloballyHashedType> Hashes; std::vector<GloballyHashedType> OwnedHashes; if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) Hashes = getHashesFromDebugH(*DebugH); else { OwnedHashes = GloballyHashedType::hashTypes(Types); Hashes = OwnedHashes; } In the else block there, add a log message that says “synthesizing .debug$h section for “ + Obj->Name See how many of these you get. When I build chrome...
2018 Jan 28
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...PM, Zachary Turner <zturner at google.com> wrote: > Look for this code in lld/coff/pdb.cpp > > > if (Config->DebugGHashes) { > ArrayRef<GloballyHashedType> Hashes; > std::vector<GloballyHashedType> OwnedHashes; > if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) > Hashes = getHashesFromDebugH(*DebugH); > else { > OwnedHashes = GloballyHashedType::hashTypes(Types); > Hashes = OwnedHashes; > } > > In the else block there, add a log message that says “synthesizing > .debug$h section for “ + Obj->Name > > See...
2018 Jan 28
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gle.com> > wrote: > >> Look for this code in lld/coff/pdb.cpp >> >> >> if (Config->DebugGHashes) { >> ArrayRef<GloballyHashedType> Hashes; >> std::vector<GloballyHashedType> OwnedHashes; >> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >> Hashes = getHashesFromDebugH(*DebugH); >> else { >> OwnedHashes = GloballyHashedType::hashTypes(Types); >> Hashes = OwnedHashes; >> } >> >> In the else block there, add a log message that says “synthesizing >> .debug$h section fo...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...his code in lld/coff/pdb.cpp >>>> >>>> >>>> if (Config->DebugGHashes) { >>>> ArrayRef<GloballyHashedType> Hashes; >>>> std::vector<GloballyHashedType> OwnedHashes; >>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>> Hashes = getHashesFromDebugH(*DebugH); >>>> else { >>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>> Hashes = OwnedHashes; >>>> } >>>> >>>> In the else block there, add a log mess...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>>> Look for this code in lld/coff/pdb.cpp >>> >>> >>> if (Config->DebugGHashes) { >>> ArrayRef<GloballyHashedType> Hashes; >>> std::vector<GloballyHashedType> OwnedHashes; >>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>> Hashes = getHashesFromDebugH(*DebugH); >>> else { >>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>> Hashes = OwnedHashes; >>> } >>> >>> In the else block there, add a log message that says “synthesizing...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
....cpp >>>>> >>>>> >>>>> if (Config->DebugGHashes) { >>>>> ArrayRef<GloballyHashedType> Hashes; >>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>> else { >>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>> Hashes = OwnedHashes; >>>>> } >>>>> >>>>> In the else...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...;> >>>>>> >>>>>> if (Config->DebugGHashes) { >>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>> else { >>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>>> Hashes = OwnedHashes; >>>>>> } >>>>>> >>...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...t;>>> >>>>>>> if (Config->DebugGHashes) { >>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>> else { >>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>>>> Hashes = OwnedHashes; >>>>>>> } >>>&...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;>>>>>>> if (Config->DebugGHashes) { >>>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>>> else { >>>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>>>>> Hashes = OwnedHashes; >>>>>>>...
2018 Jan 30
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;>>>> if (Config->DebugGHashes) { >>>>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>>>> else { >>>>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>>>>>> Hashes = OwnedHashes; >>>...
2018 Jan 28
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
Ok I went for kind of middle ground solution, I patch in the obj files, but as adding a new section didn't seem to work, I add a "shadow" section, by editing the pointer to line number and the virtual size on the .debug$T section. Although technically broken, both link.exe and lld-link.exe don't seem to mind the alterations and as the shadow .debug$H is not really a section
2018 Jan 30
4
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;> if (Config->DebugGHashes) { >>>>>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>>>>> else { >>>>>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>>>>>>> Hashes = OwnedHash...
2018 Jan 30
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...Config->DebugGHashes) { >>>>>>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>>>>>> else { >>>>>>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>>>>>>>> Ha...
2018 Jan 30
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...{ >>>>>>>>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>>>>>>>> else { >>>>>>>>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>>&gt...
2018 Jan 30
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ebugGHashes) { >>>>>>>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>>>>>>> else { >>>>>>>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>>>>>>>&gt...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
We don't generate any .lib as those don't work well with incremental linking (and give zero advantages when linking AFAIK), and it would be pretty easy to have a modern format for having a .ghash for multiple files, something simple like size prefixed name and then size prefixed ghash blobs. On Fri, Jan 26, 2018 at 8:44 PM, Zachary Turner <zturner at google.com> wrote: > We
2018 Jan 31
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;>>>>>>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>>>>>>>>> else { >>>>>>>>>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types); >>&gt...
2018 Jan 31
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;>>>>>>>>> ArrayRef<GloballyHashedType> Hashes; >>>>>>>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >>>>>>>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >>>>>>>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >>>>>>>>>>>>>>> else { >>>>>>>>>>>>>>> OwnedHashes = GloballyHashedType::hashTypes(Types);...
2018 Jan 31
1
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...;>>>>>>> ArrayRef<GloballyHashedType> Hashes; > >>>>>>>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; > >>>>>>>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) > >>>>>>>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); > >>>>>>>>>>>>>>> else { > >>>>>>>>>>>>>>> OwnedHashes = GloballyHashedType::ha...
2018 Feb 14
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...;>>>>> ArrayRef<GloballyHashedType> Hashes; >> >>>>>>>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes; >> >>>>>>>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) >> >>>>>>>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH); >> >>>>>>>>>>>>>>> else { >> >>>>>>>>>>>>>>> OwnedHashes = GloballyHa...