Skip to content

Commit b29a7fd

Browse files
mjklemmkkwli
andcommitted
Incorporate change by @kkwli
Co-authored-by: kkwli <[email protected]>
1 parent b31e990 commit b29a7fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flang/docs/FlangDriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ a code that has a Fortran program unit with a C/C++ code that also defines a
204204
libraries at link time (e.g., via `-lstdc++` for STL)
205205

206206
If the code is C/C++ based and invokes Fortran routines, one can either use Clang
207-
for Flang as the linker driver. If Clang is used, it will automatically all
207+
or Flang as the linker driver. If Clang is used, it will automatically all
208208
required runtime libraries needed by C++ (e.g., for STL) to the linker invocation.
209209
In this case, one has to explicitly provide the Fortran runtime libraries
210210
`FortranRuntime` and/or `FortranDecimal`. An alternative is to use Flang to link

flang/test/Driver/dynamic-linker.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
! RUN: --implicit-check-not=GNU-LINKER-OPTIONS-NOT %s
88
! RUN: %flang -### --target=x86_64-windows-msvc -rpath /path/to/dir -shared \
99
! RUN: -static %s 2>&1 | FileCheck \
10-
! RUN: --check-prefixes=MSVC-LINKER-OPTIONS %s
10+
! RUN: --check-prefixes=MSVC-LINKER-OPTIONS \
1111
! RUN: --implicit-check-not=MSVC-LINKER-OPTIONS-NOT %s
1212
! RUN: %flang -### --target=aarch64-linux-none -rdynamic %s 2>&1 | FileCheck --check-prefixes=RDYNAMIC-LINKER-OPTION %s
1313

0 commit comments

Comments
 (0)