[clang] c21e571 - Fix clang baremetal test

Mikhail Goncharov via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 02:33:39 PDT 2022


Author: Mikhail Goncharov
Date: 2022-10-05T11:32:28+02:00
New Revision: c21e57156c25734df44bb4893b9fc31dfc7de56d

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

LOG: Fix clang baremetal test

def48cae45a5085b7759f2be71768e27718b901a accidentally dropped -no-canonical-prefixes

Added: 
    

Modified: 
    clang/test/Driver/baremetal.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/baremetal.cpp b/clang/test/Driver/baremetal.cpp
index ac99089432477..aded919156095 100644
--- a/clang/test/Driver/baremetal.cpp
+++ b/clang/test/Driver/baremetal.cpp
@@ -97,7 +97,7 @@
 // RUN:   | FileCheck %s --check-prefix=CHECK-SYSROOT-INC
 // CHECK-SYSROOT-INC-NOT: "-internal-isystem" "include"
 
-// RUN: %clang %s -### --target=aarch64-none-elf 2>&1 \
+// RUN: %clang -no-canonical-prefixes %s -### --target=aarch64-none-elf 2>&1 \
 // RUN:   | FileCheck --check-prefix=CHECK-AARCH64-NO-HOST-INC %s
 // Verify that the bare metal driver does not include any host system paths:
 // CHECK-AARCH64-NO-HOST-INC: InstalledDir: [[INSTALLEDDIR:.+]]


        


More information about the cfe-commits mailing list