Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Make] Conditionally use LOC_FUNC() in single_file_prog_test.c #24

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

gapisback
Copy link
Member

This commit verifies the use of macros that only exist in the LOC_ELF encoding scheme; i.e., LOC_FUNC().

This macro is used in a file which normally is built using the generator. Makefile rules are added to CFLAGS to specify -DLOC_ELF_ENCODING when make is run with LOC_ENABLED=2.

These changes show that, depending on the setting of the LOC_ENABLED build-mode, we are correctly #include'ing the right generated loc.h or the include/loc.h file in the affected test-case file.

This commit verifies the use of macros that only exist in the
LOC_ELF encoding scheme; i.e., LOC_FUNC(). This macro is used in
a file which normally is built using the generator. Makefile rules
are added to CFLAGS to specify -DLOC_ELF_ENCODING when `make` is
run with LOC_ENABLED=2.

These changes show that, depending on the setting of the LOC_ENABLED
build-mode, we are correctly #include'ing the right generated loc.h
or the include/loc.h file in the affected test-case file.
@gapisback gapisback merged commit 8a34cdc into main Apr 11, 2024
6 checks passed
@gapisback gapisback deleted the gapisback/Fix-LOC-ELF-cpp.v3 branch April 11, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant