Add NetBSD support in needsRuntimeRegistrationOfSectionRange.
authorKamil Rytarowski <n54@gmx.com>
Sat, 15 Dec 2018 16:51:35 +0000 (16:51 +0000)
committerKamil Rytarowski <n54@gmx.com>
Sat, 15 Dec 2018 16:51:35 +0000 (16:51 +0000)
commit21e270a479a24738d641e641115bce6af6ed360a
tree134f1271cea63aa666233a0b6f502ae130083c93
parent15ae738bc8b6eee59a00d55b92fb133faace582b
Add NetBSD support in needsRuntimeRegistrationOfSectionRange.

Use linker script magic to get data/cnts/name start/end.

llvm-svn: 349277
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp