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

[ada] "main" not compatible with lli #2381

Closed
llvmbot opened this issue Feb 10, 2008 · 4 comments
Closed

[ada] "main" not compatible with lli #2381

llvmbot opened this issue Feb 10, 2008 · 4 comments
Labels
bugzilla Issues migrated from bugzilla llvm-tools All llvm tools that do not have corresponding tag obsolete wontfix Issue is real, but we can't or won't fix it. Not invalid

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 10, 2008

Bugzilla Link 2009
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor

Extended Description

The Ada front-end generates a "main" with a bogus
prototype as far as lli is concerned (it uses integers
rather than pointers for argv and envp).

@llvmbot
Copy link
Collaborator Author

llvmbot commented Mar 10, 2009

In general, unless you are really careful about the main prototype, lli will fail.

Perhaps the lli code should be refactored to be more forgiving?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Mar 10, 2009

I agree - it should at least support everything which is
ABI compatible with main, eg: a main which uses integers
instead of pointers as long as they are of pointer size.

@lattner
Copy link
Collaborator

lattner commented Jul 30, 2010

Duncan, should this be closed?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jul 30, 2010

lli continues to be unforgiving. I would like to keep it open for the moment.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
@asl asl added obsolete wontfix Issue is real, but we can't or won't fix it. Not invalid labels Dec 14, 2021
@asl asl closed this as completed Dec 14, 2021
cyndyishida pushed a commit to cyndyishida/llvm-project that referenced this issue Jun 17, 2022
Salvage debug info for function arguments in coro-split funclets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla llvm-tools All llvm tools that do not have corresponding tag obsolete wontfix Issue is real, but we can't or won't fix it. Not invalid
Projects
None yet
Development

No branches or pull requests

3 participants