Skip to content

Commit f3fa49d

Browse files
committed
Revert "[libc++] Remap headers in the debug info when building the library (llvm#143004)"
This reverts commit 4d50b40. Upstream-Status: Inappropriate [ OE-Specific ] Signed-off-by: Khem Raj <[email protected]>
1 parent 2f913cd commit f3fa49d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libcxx/include/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,11 +1719,6 @@ add_dependencies(cxx-headers generate-cxx-headers)
17191719
target_include_directories(cxx-headers INTERFACE ${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}
17201720
${LIBCXX_GENERATED_INCLUDE_DIR})
17211721

1722-
# Make sure to map the generated include directory back to libc++'s actual source directory when generating
1723-
# debug information. Otherwise, the debug information will refer to generated headers which are created during
1724-
# the build and generally not persistent.
1725-
target_add_compile_flags_if_supported(cxx-headers INTERFACE "-fdebug-prefix-map=${LIBCXX_GENERATED_INCLUDE_DIR}=${LIBCXX_SOURCE_DIR}/include")
1726-
17271722
if (LIBCXX_INSTALL_HEADERS)
17281723
foreach(file ${files})
17291724
get_filename_component(dir ${file} DIRECTORY)

0 commit comments

Comments
 (0)