summaryrefslogtreecommitdiffstats
path: root/src/linguist
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2024-06-06 14:24:23 +0200
committerPaul Wicking <paul.wicking@qt.io>2024-06-07 15:45:45 +0200
commit31835b4c9f31ffdf17202d1bf257d68f1adb0ce1 (patch)
tree811e062bab715de8802ead8bc2bd5ad1a583594a /src/linguist
parent413ab356162340138a20de98bc60ad8e3f4250a8 (diff)
QDoc: Disable ASan sigaltstack in output testHEADdev
Due to ASan's use of sigaltstack, it can crash with deallocation errors if instrumenting binaries that also use sigaltstack (directly or transitively). As LLVM has its own sigaltstack, this has caused integration failures in COIN (see related Jira issues). This is a known issue, see e.g: https://github.com/google/sanitizers/issues/849 https://github.com/KDE/kdevelop/commit/e306f3e39aba37b606dadba195fa5b7b73816f8f Modify the test binary such that it sets or extends the `ASAN_OPTIONS` environment variable for QDoc's process environment, to avoid crash in ASan. Promote the existing QProcessEnvironment to a static that is shared between the `initTestCase` and `runQDocProcess` member functions, to avoid the cost of repeatedly creating the QPE object. Fixes: QTBUG-126116 Task-number: QTBUG-111580 Pick-to: 6.8 Change-Id: I25c7baed9ccec14aaad0c47512b58118a3a91d84 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/linguist')
0 files changed, 0 insertions, 0 deletions