Displaying 6 results from an estimated 6 matches for "abi_breaking_checks".
2017 Apr 10
5
Question about LLVM Building Error with "-DLLVM_ENABLE_DUMP" and "RelWithDebInfo"
...l prefer to download
> only LLVM releases rather than keep up-to-date with a live tree that I
> build myself. IIRC we do not provide debug-mode downloads, therefore
> anything that affects struct size/layout will break this use-case.)
> --paulr
>
>>
>> We already have ABI_BREAKING_CHECKS for instance to this end, the naming
>> isn’t completely in line with LLVM_ENABLE_DUMP but could be unified.
>>
>> —
>> Mehdi
>>
>>
>>>
>>> If that works for you please submit a patch to phabricator as described
>> in http://llvm.org/d...
2017 Apr 09
3
Question about LLVM Building Error with "-DLLVM_ENABLE_DUMP" and "RelWithDebInfo"
...like:
>
> -#ifndef NDEBUG
> void dumpUses(unsigned RegNo) const;
> -#endif
>
> to be inline with various other dumpers (like MachineInstr::dump(), Pass::dump(), …)
I’m fine with leaving methods there, but we need to be able to compile-out fields in structure.
We already have ABI_BREAKING_CHECKS for instance to this end, the naming isn’t completely in line with LLVM_ENABLE_DUMP but could be unified.
—
Mehdi
>
> If that works for you please submit a patch to phabricator as described in http://llvm.org/docs/DeveloperPolicy.html#making-and-submitting-a-patch
>
> - Matthias
&...
2017 Apr 10
2
Question about LLVM Building Error with "-DLLVM_ENABLE_DUMP" and "RelWithDebInfo"
...her than keep up-to-date with a live tree that I
>>> build myself. IIRC we do not provide debug-mode downloads, therefore
>>> anything that affects struct size/layout will break this use-case.)
>>> --paulr
>>>
>>>>
>>>> We already have ABI_BREAKING_CHECKS for instance to this end, the naming
>>>> isn’t completely in line with LLVM_ENABLE_DUMP but could be unified.
>>>>
>>>> —
>>>> Mehdi
>>>>
>>>>
>>>>>
>>>>> If that works for you please submit a...
2017 Apr 10
2
Question about LLVM Building Error with "-DLLVM_ENABLE_DUMP" and "RelWithDebInfo"
...t I
>>>>> build myself. IIRC we do not provide debug-mode downloads, therefore
>>>>> anything that affects struct size/layout will break this use-case.)
>>>>> --paulr
>>>>>
>>>>>>
>>>>>> We already have ABI_BREAKING_CHECKS for instance to this end, the
>>>>>> naming
>>>>>> isn’t completely in line with LLVM_ENABLE_DUMP but could be unified.
>>>>>>
>>>>>> —
>>>>>> Mehdi
>>>>>>
>>>>>>
>>&...
2017 Apr 06
4
Question about LLVM Building Error with "-DLLVM_ENABLE_DUMP" and "RelWithDebInfo"
Hi All,
I have tried to build llvm tip as following:
cmake -DCMAKE_CXX_FLAGS:STRING="-DLLVM_ENABLE_DUMP"
-DCMAKE_BUILD_TYPE=RelWithDebInfo ../llvm
After running 'make', I have got error messages like below.
llvm/lib/CodeGen/MachineRegisterInfo.cpp:462:67: error: no ‘void
llvm::MachineRegisterInfo::dumpUses(unsigned int) const’ member function
declared in class
2017 Feb 02
2
Register allocator behaves differently when compiling with and without -g
> On Feb 2, 2017, at 8:20 AM, David Blaikie via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> The goal/intent is that debug info does not affect code generation. There are (many?) bugs. I think Apple folks (cc'd Adrian) may be looking at this a bit recently, not sure.
>
> The fixes aren't usually too invasive (usually involve something counting instructions where