TableGen: Fixed the string table definitions visibility. (#148946)
This fixes the buildbots issues reported in #148839.
This commit is contained in:
parent
fd543b3c46
commit
e685e4a771
@ -83,10 +83,11 @@ void StringToOffsetTable::EmitStringTableDef(raw_ostream &OS,
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
{1}constexpr llvm::StringTable
|
||||
{1} llvm::StringTable
|
||||
{2}{0} = {0}Storage;
|
||||
)",
|
||||
Name, ClassPrefix.empty() ? "static " : "", ClassPrefix);
|
||||
Name, ClassPrefix.empty() ? "static constexpr" : "const",
|
||||
ClassPrefix);
|
||||
}
|
||||
|
||||
void StringToOffsetTable::EmitString(raw_ostream &O) const {
|
||||
|
||||
@ -135,7 +135,7 @@ def BlahLibrary : SystemRuntimeLibrary<isBlahArch, (add calloc, LibraryWithCondi
|
||||
// CHECK-NEXT: #pragma GCC diagnostic pop
|
||||
// CHECK-NEXT: #endif
|
||||
// CHECK-EMPTY:
|
||||
// CHECK-NEXT: constexpr llvm::StringTable
|
||||
// CHECK-NEXT: const llvm::StringTable
|
||||
// CHECK-NEXT: RTLIB::RuntimeLibcallsInfo::RuntimeLibcallImplNameTable = RuntimeLibcallImplNameTableStorage;
|
||||
// CHECK-EMPTY:
|
||||
// CHECK-NEXT: const uint16_t RTLIB::RuntimeLibcallsInfo::RuntimeLibcallNameOffsetTable[] = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user