aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFImportFile.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2024-07-11 10:32:43 +0100
committerGitHub <noreply@github.com>2024-07-11 10:32:43 +0100
commit18e70a4d5042299054dae7d3995f6ccd8f4112b3 (patch)
tree5c4dc9a009623807360694f5ffaa1137ef967bed /llvm/lib/Object/COFFImportFile.cpp
parent55c00485eb05dfa75d4a20efff2131edd111066d (diff)
downloadllvm-18e70a4d5042299054dae7d3995f6ccd8f4112b3.zip
llvm-18e70a4d5042299054dae7d3995f6ccd8f4112b3.tar.gz
llvm-18e70a4d5042299054dae7d3995f6ccd8f4112b3.tar.bz2
[llvm][TargetParser] Return StringMap from getHostCPUFeatures (#97824)
Previously this took a reference to a map and returned a bool to say whether it succeeded. We can return a StringMap instead, as all callers but 1 simply iterated the map if the bool was true, and passed in empty maps as the starting point. lldb's lit-cpuid did specifically check whether the call failed, but due to the way the x86 routines work this works out the same as checking if the returned map is empty.
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions