[PATCH] D152661: [XRay] Make xray_fn_idx entries PC-relative

2023-06-20 Thread Fangrui Song via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGe0a6561ec9ec: [XRay] Make xray_fn_idx entries PC-relative (authored by MaskRay). Changed prior to commit:

[PATCH] D152661: [XRay] Make xray_fn_idx entries PC-relative

2023-06-20 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay added a comment. Tested on aarch64-linux-gnu and powerpc64le-linux-gnu. I'll use `createLinkerPrivateSymbol` instead of `createLinkerPrivateTempSymbol` since the symbol is not considered `IsTemporary` by MC... Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D152661: [XRay] Make xray_fn_idx entries PC-relative

2023-06-20 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay updated this revision to Diff 533131. MaskRay edited the summary of this revision. MaskRay added a comment. Herald added subscribers: cfe-commits, arphaman. Herald added a project: clang. fix clang/test/CodeGen/xray-function-index.c Repository: rG LLVM Github Monorepo CHANGES SINCE