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

[BUILD] Enable more visible symbols by default #3365

Merged
merged 1 commit into from
Jun 14, 2019
Merged

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented Jun 13, 2019

Based on a few conversations. Currently, we set -fvisibility=hidden by default, this will reduce the number of public symbols and mimic similar behavior as MSVC.

However, this also hides many of the names in the stacktrace, making the stacktrace harder to read when an exception happens.

This PR proposes to set that as an option which by default is not switched on. The CI will have one pipeline that switches this option on to allow us to guard against cases that need to have minimum exposure.

cc @jroesch

@jroesch
Copy link
Member

jroesch commented Jun 13, 2019

Looks good, I think we should have a release/debug split potentially for devs which flips a bunch of useful debugging flags on by default, changes opt-level, etc. We can do in follow up work.

@tqchen tqchen merged commit 8a89177 into apache:master Jun 14, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Jun 26, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 27, 2019
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.

2 participants