Is there a way to get the path to the root of the project that is calling the macro?

I was told that macros are sandboxed, and don't have access to the file system.

See: Use LLDB to debug a Swift macro?