Skip to content

Do not generate debug info for declarations in system header files #11544

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

Merged
merged 35 commits into from
Jan 16, 2024

Conversation

LU-JOHN
Copy link
Contributor

@LU-JOHN LU-JOHN commented Oct 14, 2023

Add option:

-fno-system-debug Do not emit debug information for declarations in system headers

@LU-JOHN LU-JOHN requested a review from a team as a code owner October 14, 2023 06:13
@LU-JOHN LU-JOHN marked this pull request as draft October 14, 2023 06:13
@LU-JOHN LU-JOHN temporarily deployed to WindowsCILock October 14, 2023 06:43 — with GitHub Actions Inactive
@LU-JOHN LU-JOHN force-pushed the no-system-debug branch 2 times, most recently from 528a3eb to cd418b6 Compare December 7, 2023 21:30
Copy link
Contributor

@premanandrao premanandrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. What happens to template declaration from a system header file, but instantiated in the user file? Are they affected?
  2. Would like to see a few tests for this that shows what would be different for the user.

Lu, John added 12 commits January 8, 2024 11:54
… generate debug info

Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
…ase for this change.

Signed-off-by: Lu, John <john.lu@intel.com>
…uarded by a new option.

Signed-off-by: Lu, John <john.lu@intel.com>
…bg info for math library functions.

Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
Copy link
Contributor

@asudarsa asudarsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

@asudarsa
Copy link
Contributor

Hi @premanandrao

There have been several changes since your latest comment. Can you please take a look when convenient?

Thanks
Sincerely

@LU-JOHN LU-JOHN requested a review from premanandrao January 12, 2024 15:33
Copy link
Contributor

@premanandrao premanandrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor nit.

Signed-off-by: Lu, John <john.lu@intel.com>
@asudarsa asudarsa merged commit 24255a5 into intel:sycl Jan 16, 2024
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.

5 participants