r331245 - Fix up r331244 - the emitted definition is weak_odr linkage. Should get

Chandler Carruth via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 30 23:48:30 PDT 2018


Author: chandlerc
Date: Mon Apr 30 23:48:30 2018
New Revision: 331245

URL: http://llvm.org/viewvc/llvm-project?rev=331245&view=rev
Log:
Fix up r331244 - the emitted definition is weak_odr linkage. Should get
the build bots to healthy again without a full revert. As the
functionality added has nothing to do with linkage this seems unlikely
to represent a deep or interesting bug in the patch.

Modified:
    cfe/trunk/test/CodeGenCXX/char8_t.cpp

Modified: cfe/trunk/test/CodeGenCXX/char8_t.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/char8_t.cpp?rev=331245&r1=331244&r2=331245&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/char8_t.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/char8_t.cpp Mon Apr 30 23:48:30 2018
@@ -3,6 +3,6 @@
 // CHECK: define void @_Z1fDu(
 void f(char8_t c) {}
 
-// CHECK: define void @_Z1gIiEvDTplplcvT__ELA4_KDuELDu114EE
+// CHECK: define weak_odr void @_Z1gIiEvDTplplcvT__ELA4_KDuELDu114EE
 template<typename T> void g(decltype(T() + u8"foo" + u8'r')) {}
 template void g<int>(const char8_t*);




More information about the cfe-commits mailing list