summaryrefslogtreecommitdiff
path: root/flang/tools
diff options
context:
space:
mode:
authorJonathon Penix <jpenix@quicinc.com>2022-07-19 11:47:25 -0700
committerJonathon Penix <jpenix@quicinc.com>2022-10-12 16:57:37 -0700
commit0ec3ac9b7fbd15698af7289e1214e8ff3d82ec14 (patch)
treecc10f920b280aefa9913369c46c4f3b758a2b421 /flang/tools
parent74fea6bffeb1724e761ece6b74561fbe4efc8d6d (diff)
downloadllvm-0ec3ac9b7fbd15698af7289e1214e8ff3d82ec14.tar.gz
[Flang] Add -fconvert option to swap endianness for unformatted files.
To accomplish this, this patch creates an optional list of environment variable default values to be set by the runtime to allow directly using the existing runtime implementation of FORT_CONVERT for I/O conversions.
Diffstat (limited to 'flang/tools')
-rw-r--r--flang/tools/bbc/bbc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/tools/bbc/bbc.cpp b/flang/tools/bbc/bbc.cpp
index 5e84edddb1b6..bd40c9af5f89 100644
--- a/flang/tools/bbc/bbc.cpp
+++ b/flang/tools/bbc/bbc.cpp
@@ -230,7 +230,7 @@ static mlir::LogicalResult convertFortranSourceToMLIR(
auto burnside = Fortran::lower::LoweringBridge::create(
ctx, semanticsContext, defKinds, semanticsContext.intrinsics(),
semanticsContext.targetCharacteristics(), parsing.allCooked(), "",
- kindMap, loweringOptions);
+ kindMap, loweringOptions, {});
burnside.lower(parseTree, semanticsContext);
mlir::ModuleOp mlirModule = burnside.getModule();
std::error_code ec;