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;
26
26
class Twine ;
27
27
class raw_ostream ;
28
28
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;
30
39
31
40
class Mangler {
32
41
// / 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