Issue |
130908
|
Summary |
[LLDB]: failed to parse variables in namespace
|
Labels |
new issue
|
Assignees |
|
Reporter |
coder0xe
|
* Operating System: ArchLinux6.13.6
* Clang/LLDB: 19.1.7
* Compile instruction: clang++ test2.cpp -stdlib=libc++ -g -o test2.out
source code:
```
class Test {
static const int a[];
};
const int Test::a[] = {1};
int a(int val) { return val; }
int main(int argc, char const *argv[]) {
return a(2); // break here
}
```
When I try to call function a(), LLDB calls variable a.
<img src="" height=300px>
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs