From 63c5fa9cf2250dcd91dd88d8233c0d9d93b1d917 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Wed, 11 Apr 2018 14:50:41 +0000 Subject: Add documentation about Valgrind LLD workaround BUG=chromium:830706 Change-Id: I72ea6373d898953c10e523399655f1f630941b09 Reviewed-on: https://pdfium-review.googlesource.com/30110 Commit-Queue: Ryan Harrison Reviewed-by: Henrique Nakashima --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 62efdbc033..dd6224eecd 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,13 @@ checkout to see if the same failures appear. Code coverage reports for PDFium can be generated in Linux development environments. Details can be found [here](/docs/code-coverage.md). +## Profiling + +Valgrind and other profiling tools do not work correctly with the standard build +setup that PDFium uses. You will need to add +`ro_segment_workaround_for_valgrind=true` to `args.gn` to get symbols to +correctly appear. + ## Waterfall The current health of the source tree can be found at -- cgit v1.2.3