summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/dwarf-size-field-overflow.test
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-03-19 21:11:07 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-03-19 21:11:07 +0000
commit5a05cc0eebd4834dfee0bc3d0569136e5d6419e1 (patch)
tree64c3e48690aecfd78832a6ca259560b892d5eaa6 /llvm/test/MC/X86/dwarf-size-field-overflow.test
parentcc37af7a3631b200b691ba42a47aaab170fea423 (diff)
downloadbcm5719-llvm-5a05cc0eebd4834dfee0bc3d0569136e5d6419e1.tar.gz
bcm5719-llvm-5a05cc0eebd4834dfee0bc3d0569136e5d6419e1.zip
Reland "[Remarks] Add a new Remark / RemarkParser abstraction"
This adds a Remark class that allows us to share code when working with remarks. The C API has been updated to reflect this. Instead of the parser generating C structs, it's now using a C++ object that is used through opaque pointers in C. This gives us much more flexibility on what changes we can make to the internal state of the object and interacts much better with scenarios where the library is used through dlopen. * C API updates: * move from C structs to opaque pointers and functions * the remark type is now an enum instead of a string * unit tests updates: * use mostly the C++ API * keep one test for the C API * rename to YAMLRemarksParsingTest * a typo was fixed: AnalysisFPCompute -> AnalysisFPCommute. * a new error message was added: "expected a remark tag." * llvm-opt-report has been updated to use the C++ parser instead of the C API Differential Revision: https://reviews.llvm.org/D59049 Original llvm-svn: 356491 llvm-svn: 356519
Diffstat (limited to 'llvm/test/MC/X86/dwarf-size-field-overflow.test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud