Compiling with clang & trace-pc-guard

123 views
Skip to first unread message

Kaz Bishop

unread,
Aug 27, 2021, 6:50:00 PM8/27/21
to code-coverage, Babak Yadegari, Ivan Fratric, Allan Sepillo
Hey all,

I'm trying to compile chrome with with clang coverage for use with Jackalope, however GN seems to override the explicit tags I set in my config when generating build configs. I
am attempting to compile on Linux, for which I believe gcc is the default compiler.

My flags:

use_goma=true
is_clang=true
sanitizer_coverage_flags="trace-pc-guard"
use_sanitizer_coverage=true

The error: https://pastebin.com/b2taaF3C

Is this an issue with GN? It seems like it but it's unclear to me why it would disrespect the config like that. Hoping there's a simple answer here.

Thanks!
Kaz


Reply all
Reply to author
Forward
0 new messages