search for: llvm_dump_method

Displaying 15 results from an estimated 15 matches for "llvm_dump_method".

2017 Sep 25
2
Errors linking with LLVM 5.0 - dump() missing
...) functions in LLVM. Normalize > them (this should just consistently implement the things discussed in > http://lists.llvm.org/pipermail/cfe-dev/2014-January/034323.html > > For reference: > - Public headers should just declare the dump() method but not use > LLVM_DUMP_METHOD or #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) > - The definition of a dump method should look like this: > #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) > LLVM_DUMP_METHOD void MyClass::dump() { > // print stuff to dbgs()... > } > #en...
2017 Sep 25
0
Errors linking with LLVM 5.0 - dump() missing
...> > them (this should just consistently implement the things discussed in > > http://lists.llvm.org/pipermail/cfe-dev/2014-January/034323.html > > > > For reference: > > - Public headers should just declare the dump() method but not use > > LLVM_DUMP_METHOD or #if !defined(NDEBUG) || > defined(LLVM_ENABLE_DUMP) > > - The definition of a dump method should look like this: > > #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) > > LLVM_DUMP_METHOD void MyClass::dump() { > > // print stuff to dbgs()... &g...
2017 Sep 25
2
Errors linking with LLVM 5.0 - dump() missing
...ust consistently implement the things discussed >> > in >> > http://lists.llvm.org/pipermail/cfe-dev/2014-January/034323.html >> > >> > For reference: >> > - Public headers should just declare the dump() method but not use >> > LLVM_DUMP_METHOD or #if !defined(NDEBUG) || >> > defined(LLVM_ENABLE_DUMP) >> > - The definition of a dump method should look like this: >> > #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) >> > LLVM_DUMP_METHOD void MyClass::dump() { >> > // pr...
2017 Sep 25
0
Errors linking with LLVM 5.0 - dump() missing
...us variants of defining dump() functions in LLVM. Normalize them (this should just consistently implement the things discussed in http://lists.llvm.org/pipermail/cfe-dev/2014-January/034323.html For reference: - Public headers should just declare the dump() method but not use LLVM_DUMP_METHOD or #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) - The definition of a dump method should look like this: #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) LLVM_DUMP_METHOD void MyClass::dump() { // print stuff to dbgs()... } #endif git-svn-id: https://l...
2017 Sep 25
2
Errors linking with LLVM 5.0 - dump() missing
Hi Martin On 25 September 2017 at 21:13, Martin J. O'Riordan <MartinO at theheart.ie> wrote: > Yes, if it is in the interface it would make more sense to have a null implementation at the very least. In my out-of-tree target, I also removed them from the interface if the build was for Release to ensure that I got compile-time errors to reveal other places I might have otherwise
2017 Sep 25
0
Errors linking with LLVM 5.0 - dump() missing
...things discussed > >> > in > >> > http://lists.llvm.org/pipermail/cfe-dev/2014-January/034323.html > >> > > >> > For reference: > >> > - Public headers should just declare the dump() method but not use > >> > LLVM_DUMP_METHOD or #if !defined(NDEBUG) || > >> > defined(LLVM_ENABLE_DUMP) > >> > - The definition of a dump method should look like this: > >> > #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) > >> > LLVM_DUMP_METHOD void MyClass::dump() { > &g...
2017 Oct 14
3
darwin bootstrap failure
...ex 7e1e1864356..8d3636432aa 100644 > --- a/utils/TableGen/InfoByHwMode.cpp > +++ b/utils/TableGen/InfoByHwMode.cpp > @@ -98,14 +98,16 @@ void ValueTypeByHwMode::writeToStream(raw_ostream > &OS) const { > OS << '}'; > } > > +#ifdef LLVM_ENABLE_DUMP > LLVM_DUMP_METHOD > void ValueTypeByHwMode::dump() const { > dbgs() << *this << '\n'; > } > +#endif > > ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec, > const CodeGenHwModes &CGH) { > -#ifndef NDEBUG > +...
2017 Oct 14
2
darwin bootstrap failure
Is anyone else seeing this bootstrap failure on current svn trunk? [ 6%] Linking CXX executable ../../bin/llvm-tblgen cd /sw/src/fink.build/llvm60-6.0.0-1/build/stage1/utils/TableGen && /sw/bin/cmake -E cmake_link_script CMakeFiles/llvm-tblgen.dir/link.txt --verbose=1 /sw/src/fink.build/llvm60-6.0.0-1/opt-bin/ccclang++ -fno-common -fPIC -fvisibility-inlines-hidden -Werror=date-time
2017 Oct 14
2
darwin bootstrap failure
...oByHwMode.cpp >>> +++ b/utils/TableGen/InfoByHwMode.cpp >>> @@ -98,14 +98,16 @@ void ValueTypeByHwMode::writeToStream(raw_ostream >>> &OS) const { >>> OS << '}'; >>> } >>> >>> +#ifdef LLVM_ENABLE_DUMP >>> LLVM_DUMP_METHOD >>> void ValueTypeByHwMode::dump() const { >>> dbgs() << *this << '\n'; >>> } >>> +#endif >>> >>> ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec, >>> cons...
2017 Oct 15
2
darwin bootstrap failure
...oByHwMode.cpp >>> +++ b/utils/TableGen/InfoByHwMode.cpp >>> @@ -98,14 +98,16 @@ void ValueTypeByHwMode::writeToStream(raw_ostream >>> &OS) const { >>> OS << '}'; >>> } >>> >>> +#ifdef LLVM_ENABLE_DUMP >>> LLVM_DUMP_METHOD >>> void ValueTypeByHwMode::dump() const { >>> dbgs() << *this << '\n'; >>> } >>> +#endif >>> >>> ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec, >>> cons...
2017 Oct 15
2
darwin bootstrap failure
...p >> >>> @@ -98,14 +98,16 @@ void ValueTypeByHwMode::writeToStream(raw_ostream >> >>> &OS) const { >> >>> OS << '}'; >> >>> } >> >>> >> >>> +#ifdef LLVM_ENABLE_DUMP >> >>> LLVM_DUMP_METHOD >> >>> void ValueTypeByHwMode::dump() const { >> >>> dbgs() << *this << '\n'; >> >>> } >> >>> +#endif >> >>> >> >>> ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec, >>...
2017 Oct 14
2
darwin bootstrap failure
...Mode.cpp >>>>> @@ -98,14 +98,16 @@ void ValueTypeByHwMode::writeToStream(raw_ostream >>>>> &OS) const { >>>>> OS << '}'; >>>>> } >>>>> >>>>> +#ifdef LLVM_ENABLE_DUMP >>>>> LLVM_DUMP_METHOD >>>>> void ValueTypeByHwMode::dump() const { >>>>> dbgs() << *this << '\n'; >>>>> } >>>>> +#endif >>>>> >>>>> ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec, >>>&gt...
2017 Oct 15
2
darwin bootstrap failure
...TypeByHwMode::writeToStream(raw_ostream >> >> >>> &OS) const { >> >> >>> OS << '}'; >> >> >>> } >> >> >>> >> >> >>> +#ifdef LLVM_ENABLE_DUMP >> >> >>> LLVM_DUMP_METHOD >> >> >>> void ValueTypeByHwMode::dump() const { >> >> >>> dbgs() << *this << '\n'; >> >> >>> } >> >> >>> +#endif >> >> >>> >> >> >>> ValueTypeByHw...
2017 Oct 14
2
darwin bootstrap failure
...@ void ValueTypeByHwMode::writeToStream(raw_ostream >>>>>>> &OS) const { >>>>>>> OS << '}'; >>>>>>> } >>>>>>> >>>>>>> +#ifdef LLVM_ENABLE_DUMP >>>>>>> LLVM_DUMP_METHOD >>>>>>> void ValueTypeByHwMode::dump() const { >>>>>>> dbgs() << *this << '\n'; >>>>>>> } >>>>>>> +#endif >>>>>>> >>>>>>> ValueTypeByHwMode llvm::g...
2017 Oct 15
2
darwin bootstrap failure
...gt; >> >>> &OS) const { >> >> >> >>> OS << '}'; >> >> >> >>> } >> >> >> >>> >> >> >> >>> +#ifdef LLVM_ENABLE_DUMP >> >> >> >>> LLVM_DUMP_METHOD >> >> >> >>> void ValueTypeByHwMode::dump() const { >> >> >> >>> dbgs() << *this << '\n'; >> >> >> >>> } >> >> >> >>> +#endif >> >> >> >>>...