Commit 88faab2
authored
Opportunistically use __FILE_NAME__ to get filename (pytorch#19834) (pytorch#19834)
Summary:
The current approach use __FILE__ and opportunistically trims it if the
utility is available.
However, the long name is still stored in .rodata
This can contribute some memory on embedded platforms.
Instead, first try __FILE_NAME__
Differential Revision: D1065876331 parent cf6daa9 commit 88faab2
0 file changed
0 commit comments