Add -fdebug-prefix-map to make Arcadia paths relative
Add -fdebug-prefix-map to make Arcadia paths relative
([arc::pullid] 80de8506-19914538-586ec135-7815b03a)
@@ -1364,6 +1364,7 @@ class GnuCompiler(Compiler):
self.debug_info_flags = ['-g']
if self.target.is_linux:
self.debug_info_flags.append('-ggnu-pubnames')
+ self.c_foptions.append('-fdebug-prefix-map=${ARCADIA_ROOT}/=')
self.cross_suffix = '' if is_positive('FORCE_NO_PIC') else '.pic'
