File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,16 @@ class Triple;
2626class Twine ;
2727class raw_ostream ;
2828
29- constexpr std::string_view HybridPatchableTargetSuffix = " $hp_target" ;
29+ // TODO: The weird assignment of HybridPatchableTargetSuffix below is a
30+ // temporary workaround for a linker failure that is only hit when compiling
31+ // llvm for arm64ec on windows. The description and context of the issue is at
32+ // https://github.com/llvm/llvm-project/issues/143575.
33+ // An upstream MSVC bug is filed at
34+ // https://developercommunity.visualstudio.com/t/MSVC-Linker-Issue-When-Cross-
35+ // Compiling-L/10920141.
36+ constexpr char HybridPatchableTargetSuffixArr[] = " $hp_target" ;
37+ constexpr std::string_view HybridPatchableTargetSuffix =
38+ HybridPatchableTargetSuffixArr;
3039
3140class Mangler {
3241 // / We need to give global values the same name every time they are mangled.
You can’t perform that action at this time.
0 commit comments