summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-06-30 10:09:01 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-06-30 10:09:01 +0000
commitd8508b0af3d8a3fd9f8ff4733f2bf43f41d9d8e6 (patch)
treecb47d63e39f22ffe1b4c1ddf537efa319ada001f /llvm/lib/Transforms
parent47092752057b4b2580da69d571e4aacd0c0ceb1b (diff)
downloadbcm5719-llvm-d8508b0af3d8a3fd9f8ff4733f2bf43f41d9d8e6.tar.gz
bcm5719-llvm-d8508b0af3d8a3fd9f8ff4733f2bf43f41d9d8e6.zip
[DWARF] - Simplify HandleExpectedError implementation in DWARFDebugInfoTest
Current implementation looks a bit confusing. It looks like it should report/print something on error, but it does not do that. It silently drops a error message when creating triple, though this behavior is fine generally. For example if LLVM configured with -DLLVM_TARGETS_TO_BUILD=ARM and our host is windows, it is expected that we will be unable to create "i386-pc-windows-msvc" target. Patch introduces isConfigurationSupported() function that checks if current configuration is supported for each test and returns early if not. llvm-svn: 306812
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud