Use the newly added DebugInfo (DI) Trivial flag, which indicates if a C++ record is trivial or not, to determine Codeview::FunctionOptions.
Clang and MSVC generate slightly different Codeview for C++ records. For example, here is the C++ code for a class with a defaulted ctor,
class C { public: C() = default; };
Clang will produce a LF for the defaulted ctor while MSVC does not. For more details, refer to FIXMEs in the test cases in "function-options.ll" included with this set of changes.
In the future, you might find llvm-pdbutil dump -types to be a little more FileCheck-friendly. It's more concise, and it works on both object files and PDBs, so you only have to read one dumper format.