aboutsummaryrefslogtreecommitdiff
path: root/gdb/producer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/producer.h')
-rw-r--r--gdb/producer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/producer.h b/gdb/producer.h
index d8974d3..e9bc309 100644
--- a/gdb/producer.h
+++ b/gdb/producer.h
@@ -52,4 +52,8 @@ extern int producer_is_gcc (const char *producer, int *major, int *minor);
running on Intel(R) 64, Version 18.0 Beta ....". */
extern bool producer_is_icc (const char *producer, int *major, int *minor);
+/* Returns true if the given PRODUCER string is LLVM (clang/flang) or
+ false otherwise.*/
+extern bool producer_is_llvm (const char *producer);
+
#endif