Revert "[llvm-exegesis] Add in snippet address annotation (#74218)"
[llvm-project.git] / flang / runtime / FortranMain / Fortran_main.c
blob5d3eaced001ebcb301808dd4cae7879f70ac4c5a
1 //===-- runtime/FortranMain/Fortran_main.c --------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "flang/Runtime/main.h"
10 #include "flang/Runtime/stop.h"
12 /* main entry into PROGRAM */
13 void _QQmain(void);
15 extern const struct EnvironmentDefaultList *_QQEnvironmentDefaults;
17 /* C main stub */
18 int main(int argc, const char *argv[], const char *envp[]) {
19 RTNAME(ProgramStart)(argc, argv, envp, _QQEnvironmentDefaults);
20 _QQmain();
21 RTNAME(ProgramEndStatement)();
22 return 0;