diff options
author | Nate DeSimone <nathaniel.l.desimone@intel.com> | 2025-04-25 15:54:18 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-04-28 22:59:30 +0000 |
commit | bf99048365a1d1f55268bf77c9c9c12bd396a93b (patch) | |
tree | 2e14b8ec7e2f7b0895b415f98f40cb0cde95c176 /BaseTools/Source/Python/UPT/InstallPkg.py | |
parent | 091bd7958b44d39751a0f3372db14921dd709ed7 (diff) | |
download | edk2-bf99048365a1d1f55268bf77c9c9c12bd396a93b.tar.gz edk2-bf99048365a1d1f55268bf77c9c9c12bd396a93b.tar.bz2 edk2-bf99048365a1d1f55268bf77c9c9c12bd396a93b.zip |
BaseTools: Add support for GCC preprocessor line directives
This change adds support for GCC-style preprocessor line
directives as documented in:
https://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
On Windows systems, one can use line-markers to see which .vfr
file was used to generate a *.i file in the Build directory.
This is useful for debugging VFR compilation failures.
With this change, the VfrCompiler will not generate compilation
errors if the *.i file contains GCC-style line-markers. Without
this change, one must disable the pre-processor's emission of
line-markers, removing the debug aid they provide.
Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/InstallPkg.py')
0 files changed, 0 insertions, 0 deletions