Makes sense for me.

================
Comment at: lib/AST/Comment.cpp:36-40
@@ -35,7 @@
-void Comment::dump() const {
-  // It is important that Comment::dump() is defined in a different TU than
-  // Comment::dump(raw_ostream, SourceManager).  If both functions were defined
-  // in CommentDumper.cpp, that object file would be removed by linker because
-  // none of its functions are referenced by other object files, despite the
-  // LLVM_ATTRIBUTE_USED.
-  dump(llvm::errs(), NULL, NULL);
----------------
Did you find a way around this?

Did you check that Comment::dump() can be called from the debugger?



http://llvm-reviews.chandlerc.com/D269
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to