While computing the sourceline presence conditions for a Linux source
file using SuperC (Klocalizer.get_sourceline_pc_linux_file()), add the
necessary support to let SuperC handle IS_ENABLED macros.
SuperC cannot directly handle IS_ENABLED macros in linux source.
To solve this issue, a header need to be included, which includes the
following code for each config option there is:
While computing the sourceline presence conditions for a Linux source file using SuperC (Klocalizer.get_sourceline_pc_linux_file()), add the necessary support to let SuperC handle IS_ENABLED macros.
SuperC cannot directly handle IS_ENABLED macros in linux source.
To solve this issue, a header need to be included, which includes the following code for each config option there is:
These changes implement creating and including such header file while running SuperC from Klocalizer.get_sourceline_pc_linux_file().