summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2013-12-05 00:33:58 +0000
committerLang Hames <lhames@gmail.com>2013-12-05 00:33:58 +0000
commitb53a85a6f833f49f3781229163720ec38f4a4df2 (patch)
treeeeec147ea5b223254aa260a11409a80813163a06 /llvm/lib/CodeGen/MachineScheduler.cpp
parentbe92bcb3419e37aacf02acaf989880d0e8238866 (diff)
downloadbcm5719-llvm-b53a85a6f833f49f3781229163720ec38f4a4df2.tar.gz
bcm5719-llvm-b53a85a6f833f49f3781229163720ec38f4a4df2.zip
If the LLVM OBJ_DIR path contains any characters not listed in the
ScalarSafeChars array in Output::scalarString (See YAMLTraits.cpp line 554 as of r196428), this test will fail: The path will be single quoted to preserve the 'unsafe' characters, which doesn't match the expected (unquoted) output. Notionally "unsafe" characters include fairly innocuous ones like the '+' symbol (I don't know enough YAML to be sure, but I suspect '+' doesn't really need to be quoted). I have added some sed lines to strip leading spaces, and leading and trailing single quote (') characters from the path. That should make this test slightly more robust. If possible, this test should be rewritten to use FileCheck, rather than diffing against expected output - the latter is likely to brittle, and require further sed goop in the future. llvm-svn: 196439
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud