These command line options provide maximum debug information when using GHS Compiler:
dual_debug
full_debug_info
Omoredebug
You should not use ignore_debug_references compiler command line option.
For more information refer to Missing callstack information when using GHS Compiler.