diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2019-01-20 19:25:26 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-08-10 14:39:27 -0400 |
commit | 818602818bb8553b241271204d159d5a40971d5a (patch) | |
tree | 135e9d4f7d635b94effe709efc8e3f20cc6968f6 /rts/RtsUtils.c | |
parent | 83ca42de519cdfa28b38164e90d726034dba768e (diff) | |
download | haskell-818602818bb8553b241271204d159d5a40971d5a.tar.gz |
Consolidate `TablesNextToCode` and `GhcUnreigsterised` in configure (#15548)
`TablesNextToCode` is now a substituted by configure, where it has the
correct defaults and error handling. Nowhere else needs to duplicate
that, though we may want the compiler to to guard against bogus settings
files.
I renamed it from `GhcEnableTablesNextToCode` to `TablesNextToCode` to:
- Help me guard against any unfixed usages
- Remove any lingering connotation that this flag needs to be combined
with `GhcUnreigsterised`.
Original reviewers:
Original subscribers: TerrorJack, rwbarton, carter
Original Differential Revision: https://phabricator.haskell.org/D5082
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r-- | rts/RtsUtils.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c index b099fa2dad..2a53d18572 100644 --- a/rts/RtsUtils.c +++ b/rts/RtsUtils.c @@ -304,8 +304,13 @@ void printRtsInfo(const RtsConfig rts_config) { mkRtsInfoPair("Target OS", TargetOS); mkRtsInfoPair("Target vendor", TargetVendor); mkRtsInfoPair("Word size", TOSTRING(WORD_SIZE_IN_BITS)); + // TODO(@Ericson2314) This is a joint property of the RTS and generated + // code. The compiler will soon be multi-target so it doesn't make sense to + // say the target is <ABI adj>, unless we are talking about the host + // platform of the compiler / ABI used by a compiler plugin. This is *not* + // that, so I think a rename is in order to avoid confusion. mkRtsInfoPair("Compiler unregisterised", GhcUnregisterised); - mkRtsInfoPair("Tables next to code", GhcEnableTablesNextToCode); + mkRtsInfoPair("Tables next to code", TablesNextToCode); mkRtsInfoPair("Flag -with-rtsopts", /* See #15261 */ rts_config.rts_opts != NULL ? rts_config.rts_opts : ""); printf(" ]\n"); |