aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-10-18 00:02:28 +0000
committerVedant Kumar <vsk@apple.com>2016-10-18 00:02:28 +0000
commit6ff82bd0ec7ddfd991cb8e57e2dfbf23f068c992 (patch)
tree21a26cc8243ba3ce2a4d77b36543c5fcdc63fb2d /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parent981da8d37bab92f306a86bd8b348c7e6b3797c08 (diff)
downloadllvm-6ff82bd0ec7ddfd991cb8e57e2dfbf23f068c992.zip
llvm-6ff82bd0ec7ddfd991cb8e57e2dfbf23f068c992.tar.gz
llvm-6ff82bd0ec7ddfd991cb8e57e2dfbf23f068c992.tar.bz2
[profile] Mark lprofCurFilename as COMPILER_RT_WEAK
This makes __llvm_profile_set_filename() work across dylib boundaries on Darwin. This functionality was originally meant to work on all platforms, but was moved to a Linux-only directory with r272404. The root cause of the test failure on Darwin was that lprofCurFilename was not marked weak. Each dylib maintained its own copy of the variable due to the two-level namespace. Tested with check-profile (on Darwin). I don't expect this to regress other platforms. Differential Revision: https://reviews.llvm.org/D25707 llvm-svn: 284440
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions