Skip to content

Commit 9118d3a

Browse files
committed
gn build: Fix port of 3cb2852
COMPILER_RT_EXEC_OUTPUT_DIR is expected to be the path where hwasan_symbolize is installed, i.e. the bin subdirectory of the build directory, but we were incorrectly setting it to the install location of the runtime libraries. Fix it.
1 parent 5ce981e commit 9118d3a

File tree

1 file changed

+2
-1
lines changed
  • llvm/utils/gn/secondary/compiler-rt/test

1 file changed

+2
-1
lines changed

llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ write_cmake_config("lit_common_configured") {
5555
"COMPILER_RT_ENABLE_INTERNAL_SYMBOLIZER_PYBOOL=False",
5656
"COMPILER_RT_HAS_NO_DEFAULT_CONFIG_FLAG_PYBOOL=True",
5757
"COMPILER_RT_INTERCEPT_LIBDISPATCH_PYBOOL=False",
58-
"COMPILER_RT_RESOLVED_EXEC_OUTPUT_DIR=" + rebase_path(crt_current_out_dir),
58+
"COMPILER_RT_RESOLVED_EXEC_OUTPUT_DIR=" +
59+
rebase_path("$root_build_dir/bin"),
5960
"COMPILER_RT_RESOLVED_LIBRARY_OUTPUT_DIR=" +
6061
rebase_path(crt_current_out_dir),
6162
"COMPILER_RT_RESOLVED_OUTPUT_DIR=" + rebase_path(crt_current_out_dir),

0 commit comments

Comments
 (0)