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: unassignedclangb...@nondot.org Reporter: chy...@google.com CC: llvmbugs@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.
_______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs