[LLVMbugs] [Bug 24302] New: Module functions not available for the first call after module import
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 29 10:28:24 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24302
Bug ID: 24302
Summary: Module functions not available for the first call
after module import
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: chying at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150729/f1f3671c/attachment.html>
More information about the llvm-bugs
mailing list