Enable macro test for clang compiler
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.linespec / macro-relative.exp
index 32375e5cb7c8ea5db34ea13b93c59028a7c906d4..c8e5b29d81f0d17406f8d5893f869a35436273ca 100644 (file)
@@ -31,6 +31,8 @@ set opts {debug additional_flags=-I.}
 get_compiler_info
 if [test_compiler_info gcc*] {
     lappend opts additional_flags=-g3
+} elseif [test_compiler_info clang*] {
+    lappend opts additional_flags=-fdebug-macro
 }
 
 if { [file pathtype $objdir] == "relative" } {
This page took 0.066196 seconds and 4 git commands to generate.