Enable strip_absolute_paths_from_debug_symbols for goma build on Linux

This is for compile cache sharing between users and bot using same build
config.

This will prevent gdb from finding symbols unless your pwd is the build
dir, or you follow the steps described in docs/linux_debugging.md added
in this CL.

Proposal docs.
https://docs.google.com/document/d/1OX4jY_bOCeNK7PNjVRuBQE9s6BQKS8XRNWGK8FEyh-E/edit?usp=sharing

Bug: crbug.com/439949, crbug.com/603286
Change-Id: I4a5a62a280bb40102866bcfa282e0993fb671755
Reviewed-on: https://chromium-review.googlesource.com/1055348
Commit-Queue: Takuto Ikuta <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Cr-Commit-Position: refs/heads/master@{#559814}
diff --git a/docs/linux_debugging.md b/docs/linux_debugging.md
index cb217d11..d2baee6 100644
--- a/docs/linux_debugging.md
+++ b/docs/linux_debugging.md
@@ -273,6 +273,18 @@
 splitting symbols from the object files. In GN, set `use_debug_fission=false` in
 your "gn args".
 
+### Source level debug with -fdebug-prefix-map
+
+When you enable GN config `strip_absolute_paths_from_debug_symbols`, this is
+enabled by default for goma on Linux build, you need to add following command
+to your `~/.gdbinit` for source level debugging to load customized
+[gdbinit](../tools/gdb/gdbinit) or copy the content of the file to your
+`~/.gdbinit`.
+
+```
+source path/to/chromium/src/tools/gdb/gdbinit
+```
+
 ## Core files
 
 `ulimit -c unlimited` should cause all Chrome processes (run from that shell) to