My compile command is in macOS Sierra is
clang -std=c11 -g -Wall -Werror -fsanitize=address -file.c -o file
after it compiles, it also generates an extra file.dSYM file which included all debug symbols. However, when I use WSL or other *nix system it will not generate such file, debug symbols were embedded into executable binaries. So I just wondering is there a way to do the same in macOS with clang.