[PATCH] D14354: Add new compiler flag to enable the generation of dwarf accelerator tables

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 15:56:03 PST 2015


probinson added a subscriber: probinson.
probinson added a comment.

So, currently you get accel tables by default for platforms that "tune" for LLDB, currently Darwin and FreeBSD.
Are you wanting to use LLDB on another platform, or did you want accel tables for a different debugger?

(Eventually I will have a chance to expose the "tuning" up through Clang, and if you're running LLDB on another platform, that will be the easier way to get what you want.)


================
Comment at: test/Driver/dwarf-accel.c:4
@@ +3,3 @@
+// RUN: %clang -target x86_64-unknown-linux-gnu -gdwarf-accel-tables -c -### %s 2> %t
+// RUN: FileCheck -check-prefix=CHECK < %t %s
+//
----------------
Normally you'd just pipe the output to FileCheck rather than write a temp file, because that's more efficient. There are lots of examples to crib from in other tests.


http://reviews.llvm.org/D14354





More information about the cfe-commits mailing list