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

Tamas Berghammer via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 17:25:15 PST 2015


tberghammer added a comment.

In http://reviews.llvm.org/D14354#282870, @probinson wrote:

> 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.)


We are using LLDB for Android (as part of Android Studio) and some of us also use if for Linux (I hope we can get higher adaptation soon).


================
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
+//
----------------
probinson wrote:
> 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.
I copied this pattern from split-dwarf.c but will check out how can I do it with piping


http://reviews.llvm.org/D14354





More information about the cfe-commits mailing list