mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
f94f2b195d
This lets us support the scenario where a binary is linked from a mix of object files with both instrumented and non-instrumented globals. This is likely to occur on Android where the decision of whether to use instrumented globals is based on the API level, which is user-facing. Previously, in this scenario, it was possible for the comdat from one of the object files with non-instrumented globals to be selected, and since this comdat did not contain the note it would mean that the note would be missing in the linked binary and the globals' shadow memory would be left uninitialized, leading to a tag mismatch failure at runtime when accessing one of the instrumented globals. It is harmless to include the note when targeting a runtime that does not support instrumenting globals because it will just be ignored. Differential Revision: https://reviews.llvm.org/D85871 |
||
---|---|---|
.. | ||
X86 | ||
alloca-array.ll | ||
alloca-compat.ll | ||
alloca-with-calls.ll | ||
alloca.ll | ||
atomic.ll | ||
basic-compat.ll | ||
basic.ll | ||
dbg-declare-tag-offset.ll | ||
dbg-value-tag-offset.ll | ||
globals.ll | ||
kernel-alloca.ll | ||
kernel-inline.ll | ||
kernel.ll | ||
landingpad.ll | ||
mem-intrinsics.ll | ||
personality.ll | ||
prologue.ll | ||
with-calls.ll |