holzschu / holzschu/a-shell

nm not working for .wasm

Open
#116 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

```
// test_file.cc
#include
extern "C" {
int myadd(int a,int b){
int res = a+b;
res = res + 2;
return res;
}
int main(){
int res = myadd(1,2);
printf("res: %d\n",res);
}
}
```

```bash
$ clang++ test_file.cc -o test_file
$ nm test_file
no symbols
```

expect to see functions like _main, _myadd, _printf, etc.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.