HomePhabricator

[ODRHash] Support ODR violation detection in functions.

Description

[ODRHash] Support ODR violation detection in functions.

Extend the hashing to functions, which allows detection of function definition
mismatches across modules. This is a re-commit of r320230.

Details

Committed
rtrieuDec 22 2017, 4:41 PM
Parents
rL321394: [Sanitizers] Export aligned new/delete from runtimes.
Branches
Unknown
Tags
Unknown

Event Timeline

evstupac added inline comments.
/cfe/trunk/lib/Serialization/ASTReader.cpp
10663

Without assert "Diagnosed is unused"!
Suggesting to add:

(void)Diagnosed;