forked from OSchip/llvm-project
[ORC-RT] Drop the 'clang_rt.' prefix from the ORC runtime.
The ORC runtime isn't used by clang -- the prefix was just cargo-culted with the rest of the XRay config when the ORC runtime was introduced. We now want to make parts of it available for clients to link directly, so this seems like a good time to fix the name.
This commit is contained in:
parent
455aff72ce
commit
a85e4aa37d
|
@ -37,7 +37,7 @@ endif(COMPILER_RT_BUILD_XRAY)
|
|||
|
||||
if (COMPILER_RT_BUILD_ORC)
|
||||
set(ORC_HEADERS
|
||||
orc/c_api.h
|
||||
orc_rt/c_api.h
|
||||
)
|
||||
endif(COMPILER_RT_BUILD_ORC)
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ if (APPLE)
|
|||
CFLAGS ${ORC_CFLAGS}
|
||||
DEPS ${ORC_DEPS})
|
||||
|
||||
add_compiler_rt_runtime(clang_rt.orc
|
||||
add_compiler_rt_runtime(orc_rt
|
||||
STATIC
|
||||
OS ${ORC_SUPPORTED_OS}
|
||||
ARCHS ${ORC_SUPPORTED_ARCH}
|
||||
|
@ -167,7 +167,7 @@ else() # not Apple
|
|||
DEPS ${ORC_DEPS})
|
||||
|
||||
# Common ORC archive for instrumented binaries.
|
||||
add_compiler_rt_runtime(clang_rt.orc
|
||||
add_compiler_rt_runtime(orc_rt
|
||||
${ORC_BUILD_TYPE}
|
||||
ARCHS ${arch}
|
||||
CFLAGS ${ORC_CFLAGS}
|
||||
|
|
|
@ -20,9 +20,9 @@ llvm_jitlink = os.path.join(config.llvm_tools_dir, 'llvm-jitlink')
|
|||
orc_rt_executor_stem = os.path.join(config.compiler_rt_obj_root, 'lib/orc/tests/tools/orc-rt-executor')
|
||||
lli = os.path.join(config.llvm_tools_dir, 'lli')
|
||||
if config.host_os == 'Darwin':
|
||||
orc_rt_path = '%s/libclang_rt.orc_osx.a' % config.compiler_rt_libdir
|
||||
orc_rt_path = '%s/liborc_rt_osx.a' % config.compiler_rt_libdir
|
||||
else:
|
||||
orc_rt_path = '%s/libclang_rt.orc%s.a' % (config.compiler_rt_libdir, config.target_suffix)
|
||||
orc_rt_path = '%s/liborc_rt%s.a' % (config.compiler_rt_libdir, config.target_suffix)
|
||||
|
||||
if config.libunwind_shared:
|
||||
config.available_features.add('libunwind-available')
|
||||
|
|
Loading…
Reference in New Issue