-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split _options and _optionString in OptionSet into separate fields
When both AOT and JIT have logs specified and when one is processed first, the OptionSet._options for the other one has not been set up properly yet. Since setOptions has not been called for the other command option, getOptions returns a char pointer to _optionString that is implicitly casted as TR::Options * because OptionSet._options and OptionSet._optionString are union. To properly check if OptionSet._options is valid, it needs to be a separate field. Fixes #6189 Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
- Loading branch information
Showing
2 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters