Index: llvm/trunk/lib/ObjectYAML/CodeViewYAMLTypes.cpp =================================================================== --- llvm/trunk/lib/ObjectYAML/CodeViewYAMLTypes.cpp +++ llvm/trunk/lib/ObjectYAML/CodeViewYAMLTypes.cpp @@ -138,7 +138,7 @@ void ScalarTraits::output(const APSInt &S, void *, llvm::raw_ostream &OS) { - S.print(OS, true); + S.print(OS, S.isSigned()); } StringRef ScalarTraits::input(StringRef Scalar, void *Ctx, APSInt &S) { Index: llvm/trunk/test/DebugInfo/PDB/pdbdump-yaml-types.test =================================================================== --- llvm/trunk/test/DebugInfo/PDB/pdbdump-yaml-types.test +++ llvm/trunk/test/DebugInfo/PDB/pdbdump-yaml-types.test @@ -785,7 +785,7 @@ YAML: - Kind: LF_ENUMERATE YAML: Enumerator: YAML: Attrs: 3 -YAML: Value: -32768 +YAML: Value: 32768 YAML: Name: eAnonymousUsage YAML: - Kind: LF_ENUMERATE YAML: Enumerator: