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

Module functions not available for the first call after module import #24676

Closed
llvmbot opened this issue Jul 29, 2015 · 1 comment
Closed

Module functions not available for the first call after module import #24676

llvmbot opened this issue Jul 29, 2015 · 1 comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Jul 29, 2015

Bugzilla Link 24302
Resolution FIXED
Resolved on May 16, 2016 16:08
Version trunk
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

After import a module from lldb, the functions in this module aren't available in the first call, subsequent calls to the same function are ok.

It could be reproduced by these steps,

Launch TOT lldb on MacOSX,
(lldb) expr @​import Darwin
(lldb) expr MIN(5, 8)
error: use of undeclared identifier 'MIN'
error: 1 errors parsing expression
(lldb) expr MIN(5, 8)
(int) $0 = 5
(lldb) expr MIN(5, 8)
(int) $1 = 5

This started to happen after
http://llvm.org/viewvc/llvm-project?view=revision&revision=242868

@llvmbot
Copy link
Collaborator Author

llvmbot commented May 16, 2016

This should be resolved by clang r269554.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category
Projects
None yet
Development

No branches or pull requests

1 participant