Displaying 8 results from an estimated 8 matches for "noghash".
Did you mean:
ghash
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...nt x = 0;
>>> void b(int);
>>> void a(int) {
>>> if (x)
>>> b(x);
>>> }
>>> int main(int argc, char **argv) {
>>> a(argc);
>>> return x;
>>> }
>>>
>>>
>>> clang-cl /Z7 /c a.cpp /Foa.noghash.obj
>>> clang-cl /Z7 /c a.cpp -mllvm -emit-codeview-ghash-section
>>> /Foa.ghash.good.obj
>>> llvm-objcopy a.noghash.obj a.ghash.bad.obj
>>> obj2yaml a.ghash.good.obj > a.ghash.good.yaml
>>> obj2yaml a.ghash.bad.obj > a.ghash.bad.yaml
>>>...
2018 Jan 26
3
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>> void a(int) {
>>>> if (x)
>>>> b(x);
>>>> }
>>>> int main(int argc, char **argv) {
>>>> a(argc);
>>>> return x;
>>>> }
>>>>
>>>>
>>>> clang-cl /Z7 /c a.cpp /Foa.noghash.obj
>>>> clang-cl /Z7 /c a.cpp -mllvm -emit-codeview-ghash-section
>>>> /Foa.ghash.good.obj
>>>> llvm-objcopy a.noghash.obj a.ghash.bad.obj
>>>> obj2yaml a.ghash.good.obj > a.ghash.good.yaml
>>>> obj2yaml a.ghash.bad.obj > a.ghash.ba...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt; if (x)
>>>>> b(x);
>>>>> }
>>>>> int main(int argc, char **argv) {
>>>>> a(argc);
>>>>> return x;
>>>>> }
>>>>>
>>>>>
>>>>> clang-cl /Z7 /c a.cpp /Foa.noghash.obj
>>>>> clang-cl /Z7 /c a.cpp -mllvm -emit-codeview-ghash-section
>>>>> /Foa.ghash.good.obj
>>>>> llvm-objcopy a.noghash.obj a.ghash.bad.obj
>>>>> obj2yaml a.ghash.good.obj > a.ghash.good.yaml
>>>>> obj2yaml a.ghash.bad...
2018 Jan 26
4
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...; b(x);
>>>>>> }
>>>>>> int main(int argc, char **argv) {
>>>>>> a(argc);
>>>>>> return x;
>>>>>> }
>>>>>>
>>>>>>
>>>>>> clang-cl /Z7 /c a.cpp /Foa.noghash.obj
>>>>>> clang-cl /Z7 /c a.cpp -mllvm -emit-codeview-ghash-section
>>>>>> /Foa.ghash.good.obj
>>>>>> llvm-objcopy a.noghash.obj a.ghash.bad.obj
>>>>>> obj2yaml a.ghash.good.obj > a.ghash.good.yaml
>>>>>>...
2018 Jan 26
1
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...is:
>>
>> // a.cpp
>> static int x = 0;
>> void b(int);
>> void a(int) {
>> if (x)
>> b(x);
>> }
>> int main(int argc, char **argv) {
>> a(argc);
>> return x;
>> }
>>
>>
>> clang-cl /Z7 /c a.cpp /Foa.noghash.obj
>> clang-cl /Z7 /c a.cpp -mllvm -emit-codeview-ghash-section
>> /Foa.ghash.good.obj
>> llvm-objcopy a.noghash.obj a.ghash.bad.obj
>> obj2yaml a.ghash.good.obj > a.ghash.good.yaml
>> obj2yaml a.ghash.bad.obj > a.ghash.bad.yaml
>>
>> Then open these...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...y Turner <zturner at google.com> wrote:
> I did this:
>
> // a.cpp
> static int x = 0;
> void b(int);
> void a(int) {
> if (x)
> b(x);
> }
> int main(int argc, char **argv) {
> a(argc);
> return x;
> }
>
>
> clang-cl /Z7 /c a.cpp /Foa.noghash.obj
> clang-cl /Z7 /c a.cpp -mllvm -emit-codeview-ghash-section
> /Foa.ghash.good.obj
> llvm-objcopy a.noghash.obj a.ghash.bad.obj
> obj2yaml a.ghash.good.obj > a.ghash.good.yaml
> obj2yaml a.ghash.bad.obj > a.ghash.bad.yaml
>
> Then open these 2 yaml files up in a diff v...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
I did this:
// a.cpp
static int x = 0;
void b(int);
void a(int) {
if (x)
b(x);
}
int main(int argc, char **argv) {
a(argc);
return x;
}
clang-cl /Z7 /c a.cpp /Foa.noghash.obj
clang-cl /Z7 /c a.cpp -mllvm -emit-codeview-ghash-section
/Foa.ghash.good.obj
llvm-objcopy a.noghash.obj a.ghash.bad.obj
obj2yaml a.ghash.good.obj > a.ghash.good.yaml
obj2yaml a.ghash.bad.obj > a.ghash.bad.yaml
Then open these 2 yaml files up in a diff viewer. It looks like the hashes
a...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
I'm so close I can almost smell it :)
I know how bad the code looks, I don't intend to submit this, but if you
want to try it out its at:
https://gist.github.com/santagada/544136b1ee143bf31653b1158ac6829e
I'm seeing: lld-link.exe: error: duplicate symbol: "<redacted_unmangled>"
(<redacted>) in <internal> and in <redacted_filename>.obj, looking at the