Displaying 20 results from an estimated 20 matches for "ownedhash".
Did you mean:
ownedhashes
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->Nam...
2018 Jan 28
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ed improvement might
be handy.
On Sun, Jan 28, 2018 at 11:14 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 “synthesizi...
2018 Jan 28
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...n Sun, Jan 28, 2018 at 11:14 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 l...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...oogle.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;
>>>> }
&g...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...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;
>>> }
>>>
>>>...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...rote:
>>>>
>>>>> 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;
&...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;>>>>> 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);
>>>>>> Has...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt; 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);
>>>...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...de 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(Type...
2018 Jan 30
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...pp
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> if (Config->DebugGHashes) {
>>>>>>>>> ArrayRef<GloballyHashedType> Hashes;
>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes;
>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File))
>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH);
>>>>>>>>> else {
>>>>>>>>> OwnedHashes = GloballyHashedType...
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 = Gl...
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 {
>>>>>>>>>>>...
2018 Jan 30
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 {
>>>>>&...
2018 Jan 30
0
[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 {
>>>>>>>>&...
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)
...>>>>
>>>>>>>>>>>>>> if (Config->DebugGHashes) {
>>>>>>>>>>>>>> ArrayRef<GloballyHashedType> Hashes;
>>>>>>>>>>>>>> std::vector<GloballyHashedType> OwnedHashes;
>>>>>>>>>>>>>> if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File))
>>>>>>>>>>>>>> Hashes = getHashesFromDebugH(*DebugH);
>>>>>>>>>>>>>> else {
>>&...
2018 Jan 31
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...
2018 Jan 31
1
[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);
> >>>>>>>>>>>>&g...
2018 Feb 14
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);
>> >>>>>>>>>&g...