[llvm-branch-commits] [clang] 57b2946 - [Driver][FreeBSD] Fix DWARF test after 2a2c0fd96757871f4e8052624000c208cc574fdf

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 24 00:43:02 PST 2023


Author: Brad Smith
Date: 2023-02-24T09:42:33+01:00
New Revision: 57b29461409951fd27be39cd28c15ced4acdbdf4

URL: https://github.com/llvm/llvm-project/commit/57b29461409951fd27be39cd28c15ced4acdbdf4
DIFF: https://github.com/llvm/llvm-project/commit/57b29461409951fd27be39cd28c15ced4acdbdf4.diff

LOG: [Driver][FreeBSD] Fix DWARF test after 2a2c0fd96757871f4e8052624000c208cc574fdf

The default DWARF version without a FreeBSD version specified is 4.

(cherry picked from commit cfca5f4d0c36d7560930df37b3a4a9cc85521529)

Added: 
    

Modified: 
    clang/test/CodeGen/dwarf-version.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/dwarf-version.c b/clang/test/CodeGen/dwarf-version.c
index 0a6fa4768026d..d307eb3f101f8 100644
--- a/clang/test/CodeGen/dwarf-version.c
+++ b/clang/test/CodeGen/dwarf-version.c
@@ -12,7 +12,7 @@
 // RUN: %clang -target x86_64-apple-darwin14 -g -S -emit-llvm -o - %s -isysroot %t | FileCheck %s --check-prefix=VER2
 
 // RUN: %clang -target powerpc-unknown-openbsd -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER2
-// RUN: %clang -target powerpc-unknown-freebsd -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER2
+// RUN: %clang -target powerpc-unknown-freebsd -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
 // RUN: %clang -target i386-pc-solaris -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER2
 // RUN: %clang -target i386-pc-solaris -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER2
 


        


More information about the llvm-branch-commits mailing list