aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2023-02-21 14:05:34 -0500
committerBrad Smith <brad@comstyle.com>2023-02-21 14:08:26 -0500
commit2a2c0fd96757871f4e8052624000c208cc574fdf (patch)
tree6151120c5bf5eed7ae26de3de532fb60cf4e8327 /flang/lib/Frontend/CompilerInvocation.cpp
parent5d585c9dd07d0df4d450e2b1ba61fb17a5153aac (diff)
downloadllvm-2a2c0fd96757871f4e8052624000c208cc574fdf.zip
llvm-2a2c0fd96757871f4e8052624000c208cc574fdf.tar.gz
llvm-2a2c0fd96757871f4e8052624000c208cc574fdf.tar.bz2
[Driver][FreeBSD] Correct driver behavior if a triple is provided without a version
While looking at other usage of getOSMajorVersion() I noticed if a version number is not included in the FreeBSD triple it won't include the --hash-style=both linker option or not disable the use of .init_array. Without a version should be the latest. FreeBSD 8 and 9 are no longer supported. So simplify things with the version handling as well. Reviewed By: dim Differential Revision: https://reviews.llvm.org/D144341
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions