diff options
| author | Yonghong Song <yhs@fb.com> | 2019-03-22 02:54:47 +0000 |
|---|---|---|
| committer | Yonghong Song <yhs@fb.com> | 2019-03-22 02:54:47 +0000 |
| commit | a1ffe2fa49bc2a2279450b897ab5261b2cd790a2 (patch) | |
| tree | 0789b3e9f1e7821be0bfd6505e2e0d5baee47809 /llvm/lib/Target/AMDGPU/SIISelLowering.cpp | |
| parent | dc6c0cf94dfb6fb1ea05794ae0a09bf575c667fd (diff) | |
| download | bcm5719-llvm-a1ffe2fa49bc2a2279450b897ab5261b2cd790a2.tar.gz bcm5719-llvm-a1ffe2fa49bc2a2279450b897ab5261b2cd790a2.zip | |
[BPF] fix flaky btf unit test static-var-derived-type.ll
The DataSecEentries is defined as an unordered_map since
order does not really matter.
std::unordered_map<std::string, std::unique_ptr<BTFKindDataSec>>
DataSecEntries;
This seems causing the test static-var-derived-type.ll flaky
as two sections ".bss" and ".readonly" have undeterministic
ordering when performing map iterating, which decides the
output assembly code sequence of BTF_KIND_DATASEC entries.
Fix the test to have only one data section to remove
flakiness.
Signed-off-by: Yonghong Song <yhs@fb.com>
llvm-svn: 356731
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions

