[PATCH] D72321: Add test for GDB pretty printers.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 15:47:43 PDT 2020


dblaikie added a subscriber: tbosch.
dblaikie added inline comments.


================
Comment at: debuginfo-tests/CMakeLists.txt:5-9
+add_llvm_executable(prettyprinters
+        llvm-prettyprinters/gdb/prettyprinters.cpp
+)
+target_link_libraries(prettyprinters PRIVATE LLVMSupport)
+
----------------
Might need to change the way this is built, @tbosch identified a bug where this test fails on a non-debug build of LLVM, because it doesn't explicitly request debug info, so it gets the build defaults. (either that, or the test should detect this situation - use a REQUIRES or similar to not run in the absence of debug info)

https://bugs.llvm.org/show_bug.cgi?id=45652


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72321/new/

https://reviews.llvm.org/D72321





More information about the llvm-commits mailing list